Documentation ¶
Index ¶
- func AesDecrypt(cryted string, key string) (string, error)
- func AesEncrypt(orig string, key string) (string, error)
- func PKCS7Padding(ciphertext []byte, blocksize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
- func RsaDecrypt(ciphertext []byte, privateKey []byte) ([]byte, error)
- func RsaEncrypt(origData []byte, publicKey []byte) ([]byte, error)
- type Data
- type License
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RsaDecrypt ¶
RsaDecrypt RSA解密
Types ¶
Click to show internal directories.
Click to hide internal directories.