mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-05 13:22: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 encrypt
|
||||
func AesOfbDecrypt(data, key []byte) []byte //AES OFB decrypt
|
||||
func Base64StdEncode(s string) string //base64 encode
|
||||
func Base64StdDecode(s string) string //base64 decode
|
||||
func DesEcbEncrypt(data, key []byte) []byte //DES ECB encrypt
|
||||
func DesEcbDecrypt(encrypted, key []byte) []byte //DES ECB decrypt
|
||||
func DesCbcEncrypt(data, key []byte) []byte //DES CBC encrypt
|
||||
func DesCbcDecrypt(encrypted, key []byte) []byte //DES CBC decrypt
|
||||
func DesCtrCrypt(data, key []byte) []byte //DES CTR encrypt/decrypt
|
||||
|
||||
@@ -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