Versions in this module Expand all Collapse all v1 v1.0.0 Aug 26, 2023 Changes in this version + func Aes128Decrypt(crypted, key []byte, IV []byte) ([]byte, error) + func Aes128Encrypt(origData, key []byte, IV []byte) ([]byte, error) + func CheckPasswordHash(password, salt, originPassword string) bool + func EncodeMD5(value string) string + func HashPassword(password string) (salt string, dbPassword string) + func HashSaltPassword(salt string, password string) (dbPassword string) + func PKCS5Padding(ciphertext []byte, blockSize int) []byte + func PKCS5UnPadding(origData []byte) []byte + func PswDecrypt(src string, skey string, ivParameter string) string + func PswEncrypt(src string, skey string, ivParameter string) string