method

generate_random_key

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: KeyGenerator
generate_random_key(length: key_length) public

Returns a random key. The key will have a size in bytes of :length (configured Cipher's length by default)

Show source
Register or log in to add new notes.