TARAXA
dev::crypto::Secp256k1PP Class Reference

#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 Secp256k1PPget ()
 

Private Member Functions

 Secp256k1PP ()=default
 

Detailed Description

CryptoPP secp256k1 algorithms.

Todo:
Collect ECIES methods into class.

Constructor & Destructor Documentation

◆ Secp256k1PP()

dev::crypto::Secp256k1PP::Secp256k1PP ( )
privatedefault

Member Function Documentation

◆ decrypt()

void Secp256k1PP::decrypt ( Secret const &  _k,
bytes io_text 
)

Decrypts text (replace input). (ECIES w/XOR-SHA1)

◆ decryptECIES() [1/2]

bool Secp256k1PP::decryptECIES ( Secret const &  _k,
bytes io_text 
)

Decrypts text (replace input). (ECIES w/AES128-CTR-SHA256)

◆ decryptECIES() [2/2]

bool Secp256k1PP::decryptECIES ( Secret const &  _k,
bytesConstRef  _sharedMacData,
bytes io_text 
)

Decrypts text (replace input). (ECIES w/AES128-CTR-SHA256)

◆ encrypt()

void Secp256k1PP::encrypt ( Public const &  _k,
bytes io_cipher 
)

Encrypts text (replace input). (ECIES w/XOR-SHA1)

◆ encryptECIES() [1/2]

void Secp256k1PP::encryptECIES ( Public const &  _k,
bytes io_cipher 
)

Encrypts text (replace input). (ECIES w/AES128-CTR-SHA256)

◆ encryptECIES() [2/2]

void Secp256k1PP::encryptECIES ( Public const &  _k,
bytesConstRef  _sharedMacData,
bytes io_cipher 
)

Encrypts text (replace input). (ECIES w/AES128-CTR-SHA256)

◆ get()

Secp256k1PP * Secp256k1PP::get ( )
static

The documentation for this class was generated from the following files: