method

key_len

rails latest stable - Class: ActiveSupport::MessageEncryptor
key_len(cipher = default_cipher)
public

Given a cipher, returns the key length of the cipher to help generate the key of desired size