examples/symmetric-encryption.yml in symmetric-encryption-0.7.0 vs examples/symmetric-encryption.yml in symmetric-encryption-0.7.1
- old
+ new
@@ -91,21 +91,24 @@
# Set the way the encrypted data is encoded:
# base64
# Encrypted data is returned in base64 encoding format
# Symmetric::Encryption.decrypt will also base64 decode any data prior
# to decrypting it
+ # base64withoutsuffix
+ # As base64 except that the trailing newline is removed after base64
+ # encoding
# binary
# Encrypted data is returned as raw binary
# Although smaller than base64 it cannot be stored in MySQL text columns
# It can only be held in binary columns such as BINARY or BLOB
- # Default: base64
- #encoding: base64
+ # Default: base64withoutsuffix
+ #encoding: base64withoutsuffix
# OPTIONAL:
#
# Any previous Symmetric Encryption Keys
#
# Only used when old data still exists that requires old decryption keys
# to be used
- key_filename: /etc/rails/.rails_old.key
iv_filename: /etc/rails/.rails_old.iv
- cipher: aes-256-cbc
+ cipher: aes-256-cbc