PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Static Public Member Functions | List of all members
ECDHInfo Class Reference

#include <transaction.h>

Static Public Member Functions

static void ComputeSharedSec (const CKey &priv, const CPubKey &pubKey, CPubKey &sharedSec)
 
static void Encode (const CKey &mask, const CAmount &amount, const CPubKey &sharedSec, uint256 &encodedMask, uint256 &encodedAmount)
 
static void Decode (unsigned char *encodedMask, unsigned char *encodedAmount, const CPubKey &sharedSec, CKey &decodedMask, CAmount &decodedAmount)
 

Detailed Description

Definition at line 26 of file transaction.h.

Member Function Documentation

◆ ComputeSharedSec()

void ECDHInfo::ComputeSharedSec ( const CKey priv,
const CPubKey pubKey,
CPubKey sharedSec 
)
static

Definition at line 109 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Decode()

void ECDHInfo::Decode ( unsigned char *  encodedMask,
unsigned char *  encodedAmount,
const CPubKey sharedSec,
CKey decodedMask,
CAmount decodedAmount 
)
static

Definition at line 126 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Encode()

void ECDHInfo::Encode ( const CKey mask,
const CAmount amount,
const CPubKey sharedSec,
uint256 encodedMask,
uint256 encodedAmount 
)
static

Definition at line 119 of file wallet.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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