Versions in this module Expand all Collapse all v0 v0.1.2 Nov 16, 2023 v0.1.1 Jun 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