TARAXA
|
#include <CryptoPP.h>
Public Member Functions | |
void | encrypt (Public const &_k, bytes &io_cipher) |
Encrypts text (replace input). (ECIES w/XOR-SHA1) More... | |
void | decrypt (Secret const &_k, bytes &io_text) |
Decrypts text (replace input). (ECIES w/XOR-SHA1) More... | |
void | encryptECIES (Public const &_k, bytes &io_cipher) |
Encrypts text (replace input). (ECIES w/AES128-CTR-SHA256) More... | |
void | encryptECIES (Public const &_k, bytesConstRef _sharedMacData, bytes &io_cipher) |
Encrypts text (replace input). (ECIES w/AES128-CTR-SHA256) More... | |
bool | decryptECIES (Secret const &_k, bytes &io_text) |
Decrypts text (replace input). (ECIES w/AES128-CTR-SHA256) More... | |
bool | decryptECIES (Secret const &_k, bytesConstRef _sharedMacData, bytes &io_text) |
Decrypts text (replace input). (ECIES w/AES128-CTR-SHA256) More... | |
Static Public Member Functions | |
static Secp256k1PP * | get () |
Private Member Functions | |
Secp256k1PP ()=default | |
CryptoPP secp256k1 algorithms.
|
privatedefault |
Decrypts text (replace input). (ECIES w/XOR-SHA1)
Decrypts text (replace input). (ECIES w/AES128-CTR-SHA256)
bool Secp256k1PP::decryptECIES | ( | Secret const & | _k, |
bytesConstRef | _sharedMacData, | ||
bytes & | io_text | ||
) |
Decrypts text (replace input). (ECIES w/AES128-CTR-SHA256)
Encrypts text (replace input). (ECIES w/XOR-SHA1)
Encrypts text (replace input). (ECIES w/AES128-CTR-SHA256)
void Secp256k1PP::encryptECIES | ( | Public const & | _k, |
bytesConstRef | _sharedMacData, | ||
bytes & | io_cipher | ||
) |
Encrypts text (replace input). (ECIES w/AES128-CTR-SHA256)
|
static |