Fabcoin Core
0.16.2
P2P Digital Currency
|
CryptoPP secp256k1 algorithms. More...
#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... | |
bytes | eciesKDF (Secret const &_z, bytes _s1, unsigned kdBitLen=256) |
Key derivation function used by encryptECIES and decryptECIES. More... | |
Static Public Member Functions | |
static Secp256k1PP * | get () |
Private Member Functions | |
Secp256k1PP ()=default | |
CryptoPP secp256k1 algorithms.
Definition at line 39 of file CryptoPP.h.
|
privatedefault |
Decrypts text (replace input). (ECIES w/XOR-SHA1)
Definition at line 233 of file CryptoPP.cpp.
Decrypts text (replace input). (ECIES w/AES128-CTR-SHA256)
Definition at line 157 of file CryptoPP.cpp.
bool Secp256k1PP::decryptECIES | ( | Secret const & | _k, |
bytesConstRef | _sharedMacData, | ||
bytes & | io_text | ||
) |
Decrypts text (replace input). (ECIES w/AES128-CTR-SHA256)
Definition at line 162 of file CryptoPP.cpp.
Key derivation function used by encryptECIES and decryptECIES.
Definition at line 85 of file CryptoPP.cpp.
Encrypts text (replace input). (ECIES w/XOR-SHA1)
Definition at line 211 of file CryptoPP.cpp.
Encrypts text (replace input). (ECIES w/AES128-CTR-SHA256)
Definition at line 115 of file CryptoPP.cpp.
void Secp256k1PP::encryptECIES | ( | Public const & | _k, |
bytesConstRef | _sharedMacData, | ||
bytes & | io_cipher | ||
) |
Encrypts text (replace input). (ECIES w/AES128-CTR-SHA256)
Definition at line 120 of file CryptoPP.cpp.
|
static |
Definition at line 79 of file CryptoPP.cpp.