Versions in this module Expand all Collapse all v0 v0.0.3 Dec 13, 2021 v0.0.2 Nov 5, 2021 Changes in this version + func MD5(str string) string + func MD5Equal(a, md string) bool + func Sha1(str string) string + func Sha1Equal(a, sh string) bool + func Sha256(str string) string + func Sha256Equal(a, sh string) bool v0.0.1 Nov 5, 2021 Changes in this version + func AesDecrypt(cryted string, key string) (string, error) + func AesDecryptByte(cryted string, key string) ([]byte, error) + func AesEncrypt(orig string, key string) (string, error) + func AesEncryptByte(origData []byte, key string) (string, error) + func GenRsaKey(bits int) (string, string, error) + func RsaDecrypt(ciphertext, privateKey []byte) ([]byte, error) + func RsaEncrypt(origData, publicKey []byte) ([]byte, error)