Documentation ¶
Index ¶
- func AesDecrypt(crypted, key []byte) ([]byte, error)
- func AesDecryptSimple(cipherText string, key string) string
- func AesEncrypt(origData, key []byte) ([]byte, error)
- func AesEncryptSimple(plainText string, key string) string
- func DesDecrypt(decrypted string, key []byte) (string, error)
- func DesEncrypt(text string, key []byte) (string, error)
- func ToBase64(rsc []byte) string
- type RSA
- type RsaLength
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RSA ¶
func (*RSA) RsaVerySignWithSha256 ¶
公钥验签
Click to show internal directories.
Click to hide internal directories.