CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
24 namespace catapult {
namespace crypto {
class PrivateKey; } }
26 namespace catapult {
namespace crypto {
void Keccak_512(const RawBuffer &dataBuffer, Hash512 &hash) noexcept
Calculates the 512-bit Keccak hash of dataBuffer into hash.
Definition: Hashes.cpp:93
auto begin() const
Returns a const iterator to the beginning of the raw key.
Definition: PrivateKey.h:59
void Sha3_512(const RawBuffer &dataBuffer, Hash512 &hash) noexcept
Calculates the 512-bit SHA3 hash of dataBuffer into hash.
Definition: Hashes.cpp:85
Represents a private key.
Definition: PrivateKey.h:32
def t_error(err)
Definition: cppLexer.py:89
def t_COMMENT_SINGLELINE(tok)
Definition: cppLexer.py:63
auto data() const
Returns a const pointer to the raw key.
Definition: PrivateKey.h:74
void SecureZero(Key &key)
Securely zeros out the memory backing the specified key.
Definition: SecureZero.cpp:42
constexpr const uint8_t * data() const noexcept
Returns a const pointer to the underlying array.
Definition: ByteArray.h:70
void HashPrivateKey(const PrivateKey &privateKey, Hash512 &hash)
Calculates hash of a privateKey.
Definition: CryptoUtils.cpp:31
constexpr size_t Key_Size
Definition: src/catapult/types.h:32
constexpr auto begin() const noexcept
Returns a const iterator to the first byte.
Definition: ByteArray.h:91
auto end() const
Returns a const iterator to the end of the raw key.
Definition: PrivateKey.h:64
auto size() const
Returns the size of the key.
Definition: PrivateKey.h:69
utils::ByteArray< Hash512_Size, Hash512_tag > Hash512
Definition: src/catapult/types.h:44
def t_COMMENT_MULTILINE(tok)
Definition: cppLexer.py:79
Definition: AddressExtractionExtension.cpp:28
Base class for wrappers of byte array types, to provide some type-safety.
Definition: ByteArray.h:29
def t_NEWLINE(tok)
Definition: cppLexer.py:84