Versions in this module Expand all Collapse all v1 v1.0.1 Oct 8, 2022 Changes in this version + var ErrDataNotDivisible = errors.New("AES256IGE: data not divisible by block size") + var ErrDataTooSmall = errors.New("AES256IGE: data too small") + func Decrypt(msg, key, checkData []byte) ([]byte, error) + func DecryptMessageWithTempKeys(msg []byte, nonceSecond, nonceServer *big.Int) []byte + func Encrypt(msg, key []byte) ([]byte, error) + func EncryptMessageWithTempKeys(msg []byte, nonceSecond, nonceServer *big.Int) []byte + func MessageKey(msg []byte) []byte + type AesBlock [aes.BlockSize]byte + type AesIgeBlock [48]byte + type AesKV [32]byte + type Cipher struct + func NewCipher(key, iv []byte) (*Cipher, error)