Versions in this module Expand all Collapse all v1 v1.0.1 Aug 29, 2018 Changes in this version + const AesKeyLength128 + const AesKeyLength192 + const AesKeyLength256 + func AesDecrypt(value string, key []byte) (string, error) + func AesEncrypt(value string, key []byte) (string, error) + func AesKey128() ([]byte, error) + func AesKey192() ([]byte, error) + func AesKey256() ([]byte, error) + func BcryptHash(value string, cycles int) (string, error) + func BcryptPasswordCompare(hashA string, hashB string) error + func HashMd5(value string) string + func HashSha1(value string) string + func HashSha256(value string) string + func HashSha384(value string) string + func HashSha512(value string) string + func MustAesDecrypt(value string, key []byte) string + func MustAesEncrypt(value string, key []byte) string + func MustBcryptHash(value string, cycles int) string