Encryption helper.