Documentation
¶
Overview ¶
Package sm3 handle shangmi sm3 hash algorithm
Index ¶
Constants ¶
View Source
const BlockSize int = 64
BlockSize SM3散列块字节数
View Source
const Size int = 32
Size SM3校验和字节数,即散列结果的字节长度
Variables ¶
This section is empty.
Functions ¶
func New ¶
New 生成一个新的hash.Hash,用来计算SM3校验和。 New returns a new hash.Hash computing the SM3 checksum. The Hash also implements encoding.BinaryMarshaler and encoding.BinaryUnmarshaler to marshal and unmarshal the internal state of the hash.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.