method

derive_key_from

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+