Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptStreamWithPrivateKey ¶
DecryptStreamWithPrivateKey copies 'in' to 'out', decrypting the bytes along the way. Note that the output stream will be smaller than the input stream by aes.BlockSize + publicKey.Size() bytes.
func EncryptStreamWithPublicKey ¶
EncryptStreamWithPublicKey copies 'in' to 'out', encrypting the bytes along the way. Note that the output stream will be larger than the input stream by aes.BlockSize + publicKey.Size() bytes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.