![]() |
Ethereum
PoC-8
The C++ Implementation of Ethereum
|
#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 () |
CryptoPP secp256k1 algorithms.
Definition at line 39 of file CryptoPP.h.
Decrypts text (replace input). (ECIES w/XOR-SHA1)
Definition at line 208 of file CryptoPP.cpp.
Decrypts text (replace input). (ECIES w/AES128-CTR-SHA256)
Definition at line 122 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 127 of file CryptoPP.cpp.
Encrypts text (replace input). (ECIES w/XOR-SHA1)
Definition at line 177 of file CryptoPP.cpp.
Encrypts text (replace input). (ECIES w/AES128-CTR-SHA256)
Definition at line 80 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 85 of file CryptoPP.cpp.
|
static |
Definition at line 74 of file CryptoPP.cpp.