Documentation
¶
Index ¶
- func Decrypt(ciphertext string, privateKey string) (string, error)
- func Encrypt(origData string, publicKey string) (string, error)
- func GenRsaKey() (privKey, pubKey string, err error)
- func RsaSign(message string, privateKey string, mode string) (string, error)
- func RsaVerify(src string, sign string, publicKey string, mode string) (pass bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.