Documentation ¶
Overview ¶
func New(key []byte) (cipher.AEAD, error) {} func (cphr *Cipher) Seal(dst, nonce, plaintext, addData []byte) []byte {} func (cphr *Cipher) Open(dst, nonce, ciphertext, addData []byte) ([]byte, error) {} func (cphr *Cipher) NonceSize() int {} func (cphr *Cipher) Overhead() int {}
ГОСТ Р 34.12-2015 https://docs.cntd.ru/document/1200121983
Index ¶
Constants ¶
View Source
const ( KeySize = 32 BlockSize = 16 NonceSize = 16 Overhead = ghash.Size256 )
View Source
const (
CipherType = "ГОСТ Р 34.12-2015"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.