Properly Encrypting With AES With CommonCrypto

Rob Napier (via Jonathan Rentzsch): First, you need to salt your key. That means adding random data to it so that if the same data is encrypted with the same password, the ciphertext will still be different. The key should then be hashed, so that the final result is the correct length. The correct way … Continue reading Properly Encrypting With AES With CommonCrypto