lib/symmetric_encryption/cipher.rb in symmetric-encryption-4.3.3 vs lib/symmetric_encryption/cipher.rb in symmetric-encryption-4.4.0
- old
+ new
@@ -48,9 +48,11 @@
# :base64strict
# Return as a base64 encoded string that does not include additional newlines
# This is the recommended format since newlines in the values to
# SQL queries are cumbersome. Also the newline reformatting is unnecessary
# It is not the default for backward compatibility
+ # :base64urlsafe
+ # Same as base64strict except that base64urlsafe uses '-' instead of '+' and '_' instead of '/'.
# :base64
# Return as a base64 encoded string
# :base16
# Return as a Hex encoded string
# :none