Versions in this module Expand all Collapse all v0 v0.1.1 Oct 23, 2022 v0.1.0 Oct 22, 2022 Changes in this version + func DecryptAesCbc(key string, cipherText string) (string, error) + func EncryptAesCbc(key string, clearText string) (string, error) + func GenerateSalt(size int) ([]byte, error) + func PKCS5Padding(cipherText []byte, blockSize int) []byte + func PKCS5Trimming(encrypt []byte) []byte + func Pbkdf2Hash256(password string, salt []byte, iter int) string + func Pbkdf2Hash512(password string, salt []byte, iter int) string + func Pbkdf2Match256(hash string, password string, salt []byte, iter int) bool + func Pbkdf2Match512(hash string, password string, salt []byte, iter int) bool