Versions in this module Expand all Collapse all v0 v0.0.1 Nov 15, 2023 Changes in this version + func BHexEncodeSha256(b []byte) string + func ComparePass(hash, pass string) bool + func DecodeConfig(value interface{}, key string) error + func DesDecoding(pwd, key string) (string, error) + func DesEncoding(src, key string) (string, error) + func DesEncodingMap(m map[string]interface{}, key string) error + func EncodeConfig(value interface{}, key string) error + func EncoderPass(pass string) string + func HexEncodeSha256(s string) string + func HexEncodeSha256B(b []byte) []byte + func HmacSha256(msg, secret []byte) []byte + func PadPwd(srcByte []byte, blockSize int) []byte + func UnPadPwd(dst []byte) []byte + func WriteEncodeConfig(value interface{}, key, src, out string, options ...viper.DecoderConfigOption) error