Skip to content

ethereum

Classes

Name
class ethereum::EthereumKeyGenerator
Creates a pair of ECDSA keys and a ethereum address.

Types

Name
using ecdsa_t::CurveType CurveType
Curve type used by Ethereum keys.
using typename ecdsa_t::base_field_type base_field_type
Ethereum base field type.
using typename ecdsa_t::scalar_field_type scalar_field_type
Ethereum scalar field type.
using typename ecdsa_t::scalar_field_value_type scalar_field_value_type
Ethereum value from the scalar field type.
using ecdsa_t::random_generator_type random_generator_type
Random generator type, to generate new Ethereum keys/addresses.
using ecdsa_t::hash_type hash_type
The hash type used by Ethereum address derivation.
using ecdsa_t::generator_type generator_type
The deterministic generator used by Ethereum key pair.
using ecdsa_t::padding_policy padding_policy
Ethereum passing policy.
using ecdsa_t::policy_type policy_type
Ethereum policy type.
using ecdsa_t::signature_type signature_type
Ethereum signature type.
using hashes::keccak_1600< 256 > derivation_hash_type
The hash type used by Ethereum address derivation.

Functions

Name
std::vector< std::uint8_t > EthereumKeyGenerator::ExtractPubKeyFromField< std::vector< std::uint8_t > >(const pubkey::public_key< policy_type > & pub_key)
EthereumKeyGenerator::PubKeyPair_t EthereumKeyGenerator::ExtractPubKeyFromField< EthereumKeyGenerator::PubKeyPair_t >(const pubkey::public_key< policy_type > & pub_key)

Types Documentation

using CurveType

using ethereum::CurveType = ecdsa_t::CurveType;

Curve type used by Ethereum keys.

using base_field_type

using ethereum::base_field_type = typename ecdsa_t::base_field_type;

Ethereum base field type.

using scalar_field_type

using ethereum::scalar_field_type = typename ecdsa_t::scalar_field_type;

Ethereum scalar field type.

using scalar_field_value_type

using ethereum::scalar_field_value_type = typename ecdsa_t::scalar_field_value_type;

Ethereum value from the scalar field type.

using random_generator_type

using ethereum::random_generator_type = ecdsa_t::random_generator_type;

Random generator type, to generate new Ethereum keys/addresses.

using hash_type

using ethereum::hash_type = ecdsa_t::hash_type;

The hash type used by Ethereum address derivation.

using generator_type

using ethereum::generator_type = ecdsa_t::generator_type;

The deterministic generator used by Ethereum key pair.

using padding_policy

using ethereum::padding_policy = ecdsa_t::padding_policy;

Ethereum passing policy.

using policy_type

using ethereum::policy_type = ecdsa_t::policy_type;

Ethereum policy type.

using signature_type

using ethereum::signature_type = ecdsa_t::signature_type;

Ethereum signature type.

using derivation_hash_type

using ethereum::derivation_hash_type = hashes::keccak_1600<256>;

The hash type used by Ethereum address derivation.

Functions Documentation

function EthereumKeyGenerator::ExtractPubKeyFromField< std::vector< std::uint8_t > >

std::vector< std::uint8_t > EthereumKeyGenerator::ExtractPubKeyFromField< std::vector< std::uint8_t > >(
    const pubkey::public_key< policy_type > & pub_key
)

function EthereumKeyGenerator::ExtractPubKeyFromField< EthereumKeyGenerator::PubKeyPair_t >

EthereumKeyGenerator::PubKeyPair_t EthereumKeyGenerator::ExtractPubKeyFromField< EthereumKeyGenerator::PubKeyPair_t >(
    const pubkey::public_key< policy_type > & pub_key
)

Updated on 2026-03-04 at 13:10:43 -0800