Documentation ¶
Overview ¶
Package ctr supports ctr encryption - this implementation is authenticated with crypto/hmac using sha256
Index ¶
Constants ¶
View Source
const ( // NonceSize to use for nonces NonceSize = aes.BlockSize // MACSize is the output size of HMAC-SHA-256 MACSize = 32 // CKeySize - Cipher key size - AES-256 CKeySize = 32 // MKeySize - HMAC key size - HMAC-SHA-256 MKeySize = 32 // KeySize to use for keys, 64 bytes KeySize = CKeySize + MKeySize )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.