Documentation ¶
Index ¶
- func DecryptOAEP(cipher secret.Cipher, data interface{}) (plainText []byte, err error)
- func EncryptOAEP(cipher secret.Cipher, data interface{}) (cipherText string, err error)
- func SignSHA256WithRSA(cipher secret.Cipher, data interface{}) (signature string, err error)
- func VerifySHA256WithRSA(cipher secret.Cipher, signText, plainText string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptOAEP ¶
DecryptOAEP RSA EncryptOAEP 解密
func EncryptOAEP ¶
EncryptOAEP RSA EncryptOAEP 加密敏感信息
func SignSHA256WithRSA ¶
SignSHA256WithRSA SHA-256 with RSA 签名
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.