Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MessageDecrypt ¶
func MessageDecrypt(privKey *btcec.PrivateKey, ciphertext *[]byte) (*[]byte, error)
MessageDecrypt decrypts data that was encrypted using the Encrypt function.
func MessageEncrypt ¶
MessageEncrypt encrypts data for the target public key using AES-256-CBC.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.