I want to decrypt a DES encrypted String with CommonCrypto and therefore i have to generate a key from a given passphrase.
I found the following function in Apple's API reference: SecKeyGenerateSymmetric
But when I import Security in my swift file this function is not available while other functions of the framework are available (eg. SecKeyGeneratePair).
Has this function been replaced by some other?
Or is there any other way to generate a DES key in Swift 3?