Versions in this module Expand all Collapse all v1 v1.0.1 Oct 21, 2020 Changes in this version + const ALPHABET + const ALPHANUM + const ALPHASYM + func CheckHMACSHA1(message, messageMAC, key []byte) bool + func HMACSHA1(message, key []byte) string + func MD5(b []byte) string + func PKCS5Padding(ciphertext []byte, blockSize int) []byte + func PKCS5UnPadding(origData []byte) []byte + func PKCS7Padding(ciphertext []byte, blockSize int) []byte + func PKCS7Unpadding(origData []byte) []byte + func PswDecrypt(sKey, src string) string + func PswEncrypt(sKey, src string) string + func RandomBytes(count int) []byte + func RandomInt(start, end int) int + func RandomInt64(start, end int64) int64 + func RandomString(count int, set ...[]byte) string + func RandomUUID() string + func RsaDecryptByPri(pri_key_file string, ciphertext []byte) ([]byte, error) + func RsaEncryptByPub(pub_key_file string, origData []byte) ([]byte, error) + func SHA1(b []byte) string + func TripleEcbDesDecrypt(crypted, key []byte) ([]byte, error) + func TripleEcbDesEncrypt(origData, key []byte) ([]byte, error)