method
new
v7.2.3 -
Show latest stable
- Class:
ActiveRecord::Encryption::Cipher::Aes256Gcm
new(secret, deterministic: false)public
When iv not provided, it will generate a random iv on each encryption operation (default and recommended operation)