CMAC
Inherits Reference < Object
Constants
CONSTANT_BLOCK = Bytes[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 135]
ZERO_BLOCK = Bytes.new(16)
Constructors
new(key)
SourceInstance methods
_derive_key(key : Bytes) : Bytes
Source_encrypt_block(key : Bytes, block : Bytes) : Bytes
Source_generate_subkeys(key : Bytes)
Source_leftshift(input : Bytes) : Bytes
Source_needs_padding?(message : Bytes) : Bool
Source_next_key(key : Bytes) : Bytes
Source_pad_message(message : Bytes) : Bytes
Source_secure_compare?(a : Bytes, b : Bytes) : Bool
Source_xor(a : Bytes, b : Bytes) : Bytes
Sourcesign(message, truncate = 16) : Bytes
Sourcevalid_message?(tag, message) : Bool
Source