Method: AEAD::Cipher#nonce_len

Defined in:
lib/aead/cipher.rb

#nonce_lenInteger

The length of nonces used by the current Cipher.

Returns:

  • (Integer)

    the length of nonces in bytes



94
95
96
# File 'lib/aead/cipher.rb', line 94

def nonce_len
  self.class.nonce_len
end