package
0.0.0-20230728040913-ea9045636ba9
Repository: https://github.com/xuperchain/crypto.git
Documentation: pkg.go.dev

# Functions

BytesCombine concatenates byte array.
BytesCompare compares two byte arrays, give the result whether they are the same or not.
把slice的长度补齐到指定字节的长度.
PKCS7Padding:缺N个字节就补N个字节的0, PKCS5Padding:缺N个字节就补充N个字节的N,例如缺8个字节,就补充8个字节的数字8.
PKCS7Padding:缺N个字节就补N个字节的0, PKCS5Padding:缺N个字节就补充N个字节的N,例如缺8个字节,就补充8个字节的数字8 PKCS5UnPadding:获取最后一个字节,转换为数字N,然后剔除掉最后N个字节,例如最后一个字节是数字8,就剔除掉最后8个字节.
No description provided by the author
相当于php的in_array函数.

# Variables

密码错误,解密失败.