Documentation ¶
Index ¶
- func DesDecrypt(crypted, key []byte) ([]byte, error)
- func DesEncrypt(origData, key []byte) ([]byte, error)
- func MD5Encrypt(origData []byte) []byte
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func RsaDecrypt(ciphertext []byte) ([]byte, error)
- func RsaEncrypt(origData []byte) ([]byte, error)
- func SetRsaPrivateKey(key []byte)
- func SetRsaPublicKey(key []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.