Documentation
¶
Index ¶
- func AesDecrypt(cryted string, key string) (string, error)
- func AesEncrypt(orig string, key string) string
- func DecryptCert(signData, privateKeyStr string) (string, error)
- func LoadPrivateKey(privateKeyStr string) (*rsa.PrivateKey, error)
- func PKCS7Padding(ciphertext []byte, blocksize int) []byte
- func PKCS7UnPadding(origData []byte) []byte
- func RSAVerify(data []byte, sign string, publicKey string) error
- func SignCert(signData, privateKeyStr string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AesEncrypt ¶
func LoadPrivateKey ¶
func LoadPrivateKey(privateKeyStr string) (*rsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.