method

generate_key

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: KeyGenerator
generate_key(salt, key_size = 64) public

Returns a derived key suitable for use. The default key_size is chosen to be compatible with the default settings of ActiveSupport::MessageVerifier. i.e. OpenSSL::Digest::SHA1#block_length

Show source
Register or log in to add new notes.