gdes
少于1分钟
原文:https://pkg.go.dev/github.com/gogf/gf/v2@v2.6.4/crypto/gdes
Overview 概述
Package gdes provides useful API for DES encryption/decryption algorithms.
软件包 gdes 为 DES 加密/解密算法提供了有用的 API。
常量
| |
变量
This section is empty.
函数
func DecryptCBC
| |
DecryptCBC decrypts cipherText using CBC mode.
DecryptCBC cipherText 使用 CBC 模式解密。
func DecryptCBCTriple
| |
DecryptCBCTriple decrypts cipherText using TripleDES and CBC mode.
DecryptCBCTriple cipherText 使用 TripleDES 和 CBC 模式进行解密。
func DecryptECB
| |
DecryptECB decrypts cipherText using ECB mode.
DecryptECB cipherText 使用 ECB 模式解密。
func DecryptECBTriple
| |
DecryptECBTriple decrypts cipherText using TripleDES and ECB mode. The length of the key should be either 16 or 24 bytes.
DecryptECBTriple cipherText 使用 TripleDES 和 ECB 模式进行解密。的 key 长度应为 16 或 24 字节。
func EncryptCBC
| |
EncryptCBC encrypts plainText using CBC mode.
EncryptCBC plainText 使用 CBC 模式进行加密。
func EncryptCBCTriple
| |
EncryptCBCTriple encrypts plainText using TripleDES and CBC mode.
EncryptCBCTriple plainText 使用 TripleDES 和 CBC 模式进行加密。
func EncryptECB
| |
EncryptECB encrypts plainText using ECB mode.
EncryptECB plainText 使用 ECB 模式进行加密。
func EncryptECBTriple
| |
EncryptECBTriple encrypts plainText using TripleDES and ECB mode. The length of the key should be either 16 or 24 bytes.
EncryptECBTriple plainText 使用 TripleDES 和 ECB 模式进行加密。的 key 长度应为 16 或 24 字节。
func Padding
| |
func PaddingPKCS5
| |
func UnPadding
| |
func UnPaddingPKCS5
| |
类型
This section is empty.