Method: Ccrypto::CipherConfig#has_mandatory_block_size?

Defined in:
lib/ccrypto/configs/cipher_config.rb

#has_mandatory_block_size?Boolean

def has_fixed_auth_tag_length?

not_empty?(@fixed_auth_tag_length) and @fixed_auth_tag_length.to_i > -1

end

Returns:

  • (Boolean)


83
84
85
# File 'lib/ccrypto/configs/cipher_config.rb', line 83

def has_mandatory_block_size?
  not_empty?(@mandatory_block_size) and @mandatory_block_size.to_i > -1
end