Documentation ¶
Index ¶
- func ParsePrivateKey(raw string) (result []byte)
- func ParsePublicKey(raw string) (result []byte)
- 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 ParsePrivateKey ¶
func ParsePublicKey ¶
func RSADecrypt ¶
func RSAEncrypt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.