Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAESCBC128SHA256 ¶
NewAESCBC128SHA256 returns an AEAD_AES_128_CBC_HMAC_SHA_256 instance given a 32-byte key or an error if the key is the wrong size. AEAD_AES_128_CBC_HMAC_SHA_256 combines AES-128 in CBC mode with HMAC-SHA-256-128.
func NewAESCBC192SHA384 ¶
NewAESCBC192SHA384 returns an AEAD_AES_192_CBC_HMAC_SHA_384 instance given a 48-byte key or an error if the key is the wrong size. AEAD_AES_192_CBC_HMAC_SHA_384 combines AES-192 in CBC mode with HMAC-SHA-384-192.
func NewAESCBC256SHA384 ¶
NewAESCBC256SHA384 returns an AEAD_AES_256_CBC_HMAC_SHA_384 instance given a 56-byte key or an error if the key is the wrong size. AEAD_AES_256_CBC_HMAC_SHA_384 combines AES-256 in CBC mode with HMAC-SHA-384-192.
func NewAESCBC256SHA512 ¶
NewAESCBC256SHA512 returns an AEAD_AES_256_CBC_HMAC_SHA_512 instance given a 64-byte key or an error if the key is the wrong size. AEAD_AES_256_CBC_HMAC_SHA_512 combines AES-256 in CBC mode with HMAC-SHA-512-256.
func NewAESCBCAEAD ¶
NewAESCBCAEAD creates a new AEAD cipher based on AES-CBC with HMAC-SHA.
Types ¶
This section is empty.