Versions in this module Expand all Collapse all v0 v0.0.4 May 10, 2024 v0.0.3 May 3, 2024 Changes in this version + func DecryptAES(key string, data string) string + func DecryptRSA(cipherText []byte, buf []byte) string + func EncryptAES(key string, data string) string + func EncryptRSA(plainText string, buf []byte) []byte + func GenerateRSAKey(bits int) ([]byte, []byte) + func HashSha1(data string) string + func HashSha256(data string) string + func HashSha512(data string) string v0.0.2 Apr 29, 2024 Changes in this version + var DefaultMd5Config = Md5Config + func GenerateMd5(psd string) (encodedPsd, salt string) + func VerifyMd5(encodePsd, psd, salt string) bool + type Md5Config struct + Iterations int + KeyLen int + SaltLen int