Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseASN1RSAPublicKey ¶
Parses a DER encoded RSA public key
func RSAEncrypt ¶
Encrypts a message with the given public key using RSA-OAEP and the sha1 hash function.
func SymmetricDecrypt ¶
Decrypts data from the reader using AES/CBC/PKCS7 with an IV prepended using AES/ECB/None. The src slice may not be used anymore.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.