Documentation ¶
Overview ¶
Package cfb supports basic cfb encryption with NO HMAC
Index ¶
Constants ¶
View Source
const ( // KeySize for CFB uses the generic key size KeySize = generate.KeySize // CKeySize - Cipher key size - AES-256 CKeySize = 32 // MACSize is the output size of HMAC-SHA-256 MACSize = 32 // MKeySize - HMAC key size - HMAC-SHA-256 MKeySize = 32 // IVSize - 16 for cfb IVSize = 16 )
Variables ¶
This section is empty.
Functions ¶
func DecryptString ¶
DecryptString decrypts ciphertext using the given key
func EncryptString ¶
EncryptString encrypts ciphertext using the given key
Types ¶
Click to show internal directories.
Click to hide internal directories.