Documentation ¶
Index ¶
- func LoadRSAPrivateKey(pemFile string) (*rsa.PrivateKey, error)
- func LoadRSAPublicKey(pemFile string) (*rsa.PublicKey, error)
- func MaxEncryptSize(pubkey *rsa.PublicKey) int
- func RSADecrypt(privkey *rsa.PrivateKey, data []byte) ([]byte, error)
- func RSAEncrypt(pubkey *rsa.PublicKey, data []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RSADecrypt ¶
func RSADecrypt(privkey *rsa.PrivateKey, data []byte) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.