Documentation
¶
Index ¶
Constants ¶
View Source
const BlockSize = 16
Variables ¶
This section is empty.
Functions ¶
func DecryptBlock ¶
*
*@description:this function use to decrypt 128 bits data,and the decrypted data will be return in the param output *@param key sm4密钥 *@param src 128bits crypto text *@param dst 128bits plain text *@return void
func EncryptBlock ¶
*
*@description:this function use to encrypt 128 bits data,and the encrypted data will be return in the param output *@param key sm4密钥 *@param src 128bits plain text *@param dst 128bits crypto text *@return void
Types ¶
type KeySizeError ¶
type KeySizeError int
Click to show internal directories.
Click to hide internal directories.