Documentation
¶
Overview ¶
Package sm4 implements ShangMi(SM) sm4 symmetric encryption algorithm.
Index ¶
Constants ¶
View Source
const ( INST_AES int = iota INST_SM4 )
View Source
const BlockSize = 16
BlockSize the sm4 block size in bytes.
View Source
const KeySize = 16
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KeySizeError ¶
type KeySizeError int
func (KeySizeError) Error ¶
func (k KeySizeError) Error() string
Click to show internal directories.
Click to hide internal directories.