Versions in this module Expand all Collapse all v1 v1.0.0 Jul 10, 2024 Changes in this version + func CBCDecrypt(key, data []byte) ([]byte, error) + func CBCDecryptString(key, data string) (string, error) + func CBCEncrypt(key, data []byte) ([]byte, error) + func CBCEncryptString(key, data string) (string, error) + func GetDecryptMsg(privateKeyString, data string) ([]byte, error) + func GetRSAKey(bits int) (string, string, error) + func GetRSASignature(privateKeyBytes, msg []byte, hashFunc crypto.Hash) (string, error) + func MD5(str string) string + func MD5Large(str string) (string, error) + func MD5Small(str string) string + func MD5stream(r io.Reader) (string, error) + func RSADecrypt(privateKeyBytes, data []byte) ([]byte, error)