mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-23 13:52:26 +08:00
update: add DesEcbEncrypt and DesEcbDecrypt comment
This commit is contained in:
@@ -131,6 +131,8 @@ func AesOfbEncrypt(data, key []byte) []byte //AES OFB模式加密
|
||||
func AesOfbDecrypt(data, key []byte) []byte //AES OFB模式解密
|
||||
func Base64StdEncode(s string) string //base64编码
|
||||
func Base64StdDecode(s string) string //base64解码
|
||||
func DesEcbEncrypt(data, key []byte) []byte //DES ECB模式加密
|
||||
func DesEcbDecrypt(encrypted, key []byte) []byte //DES ECB模式解密
|
||||
func DesCbcEncrypt(data, key []byte) []byte //DES CBC模式加密
|
||||
func DesCbcDecrypt(encrypted, key []byte) []byte //DES CBC模式解密
|
||||
func DesCtrCrypt(data, key []byte) []byte //DES CTR模式加密/解密
|
||||
|
||||
Reference in New Issue
Block a user