CatapultServer
v0.5.0.1 (Elephant)
|
utils::ByteArray< Hash256_Size, Hash256_tag > Hash256
Definition: src/catapult/types.h:47
void Sha3_256(const RawBuffer &dataBuffer, Hash256 &hash) noexcept
Calculates the 256-bit SHA3 hash of dataBuffer into hash.
Definition: Hashes.cpp:81
static auto FromPrivate(PrivateKey &&privateKey)
Creates a key pair from privateKey.
Definition: KeyPair.h:41
static PrivateKey Generate(const supplier< uint8_t > &generator)
Generates a new private key using the specified byte generator.
Definition: PrivateKey.cpp:77
Represents a pair of private key with associated public key.
Definition: KeyPair.h:33
Address PublicKeyToAddress(const Key &publicKey, NetworkIdentifier networkIdentifier)
Creates an address from a public key (publicKey) for the network identified by networkIdentifier.
Definition: Address.cpp:50
Definition: AddressExtractionExtension.cpp:28
static auto FromString(const std::string &privateKey)
Creates a key pair from privateKey.
Definition: KeyPair.h:46
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41