Versions in this module Expand all Collapse all v1 v1.0.1 May 8, 2026 Changes in this version + type BlockCipherFunc = func(key []byte) (cipher.Block, error) + type BlockCipherMAC interface + MAC func(src []byte) []byte + Size func() int + func NewANSIRetailMAC(creator BlockCipherFunc, key1, key2 []byte, size int) BlockCipherMAC + func NewCBCMAC(b cipher.Block, size int) BlockCipherMAC + func NewCBCRMAC(b cipher.Block, size int) BlockCipherMAC + func NewCMAC(b cipher.Block, size int) BlockCipherMAC + func NewEMAC(creator BlockCipherFunc, key1, key2 []byte, size int) BlockCipherMAC + func NewLMAC(creator BlockCipherFunc, key []byte, size int) BlockCipherMAC + func NewMACDES(creator BlockCipherFunc, key1, key2 []byte, size int) BlockCipherMAC + func NewTRCBCMAC(b cipher.Block, size int) BlockCipherMAC