method

derive_key_from

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: KeyGenerator
derive_key_from(password, length: key_length) public

Derives a key from the given password. The key will have a size in bytes of :length (configured Cipher's length by default)

The generated key will be salted with the value of +ActiveRecord::Encryption.key_derivation_salt+

Show source
Register or log in to add new notes.