package
0.0.0-20250219033730-6c76daace332
Repository: https://github.com/tianlin0/go-plat-utils.git
Documentation: pkg.go.dev
# Functions
AesCbcDecrypt 解密 decryptOri decrypt cypher text by key.
AesCbcEncrypt 加密 decryptOri decrypt cypher text by key.
AesDecrypt 对字符串对称解密,输入输出都为base64字符.
AesEncrypt 对字符串对称加密,输入输出都为base64字符.
Argon2CompareHashAndPassword performs a constant-time comparison between a plain-text password and Argon2id hash, using the parameters and salt contained in the hash.
Argon2PasswordEncoder returns an Argon2id hash of a plain-text password using the provided algorithm parameters.
No description provided by the author
No description provided by the author
CbcDecrypt 解密 decryptOri decrypt cypher text by key.
CbcEncrypt 加密 encryptOri encrypt plain text by key.
DecryptRSA RSA解密数据,key必须是成对出现.
EncryptRSA RSA加密数据,key必须是成对出现.
GobDecode 反序列化一个对象.
GobEncode 序列化一个对象.
Md5 计算出md5的值.
SHA 计算给定字符串的SHA值.
SHAWithHmac 转化为hmac.
XorDecode 异或解密.
XorEncode 异或加密.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Argon2Params describes the input parameters used by the Argon2id algorithm.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author