# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ECB解密.
No description provided by the author
ECB解密.
解密:.
src: --明文/密文,需要分组填充,每组8bytekey: --秘钥 8byteiv: --初始化向量 8byte 长度必须与key相同加密.
ECB加密.
明文补码算法.
明文减码算法.
分组填充--填充对应长度的相同数字(1, 22, 333....)data: 待分组数据, blockSize: 每组的长度.
分组移除.
Sm4Decrypt secret必须是16位, 如果不是16位则需要padding.
Sm4Encrypt secret必须是16位, 如果不是16位则需要padding.