CatapultServer  v0.5.0.1 (Elephant)
KeyGenerator.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "catapult/types.h"
23 
24 namespace catapult { namespace crypto { class PrivateKey; } }
25 
26 namespace catapult { namespace crypto {
27 
29  void ExtractPublicKeyFromPrivateKey(const PrivateKey& privateKey, Key& publicKey);
30 }}
PrivateKey.h
catapult::crypto::ExtractPublicKeyFromPrivateKey
void ExtractPublicKeyFromPrivateKey(const PrivateKey &privateKey, Key &publicKey)
Extracts a public key (publicKey) from a private key ()
Definition: KeyGenerator.cpp:31
CryptoUtils.h
catapult::crypto::PrivateKey
Represents a private key.
Definition: PrivateKey.h:32
catapult::utils::ByteArray::data
constexpr const uint8_t * data() const noexcept
Returns a const pointer to the underlying array.
Definition: ByteArray.h:70
catapult::crypto::HashPrivateKey
void HashPrivateKey(const PrivateKey &privateKey, Hash512 &hash)
Calculates hash of a privateKey.
Definition: CryptoUtils.cpp:31
types.h
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::utils::ByteArray< Key_Size, Key_tag >
KeyGenerator.h
catapult::Key
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41