Documentation ¶
Overview ¶
for alipay
Index ¶
- func FormatPrivateKey(src string) string
- func FormatPublicKey(src string) string
- func RSADecrypt(ciphertext, key []byte) ([]byte, error)
- func RSAEncrypt(plaintext, key []byte) ([]byte, error)
- func SignPKCS1v15(src, key []byte, hash crypto.Hash) ([]byte, error)
- func VerifyPKCS1v15(src, sig, key []byte, hash crypto.Hash) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatPrivateKey ¶
func FormatPublicKey ¶
func RSADecrypt ¶
func RSAEncrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.