Skip to content

KeyGenerator::ElGamal::PrivateKey

#include <ElGamalKeyGenerator.hpp>

Inherits from KeyGenerator::ElGamal::PublicKey

Public Functions

Name
cpp_int CreatePrivateScalar(const Params & new_p_g)
PrivateKey(const Params & new_p_g, cpp_int prvkey_value)
cpp_int GetPrivateKeyScalar() const

Additional inherited members

Public Functions inherited from KeyGenerator::ElGamal::PublicKey

Name
PublicKey(Params params, cpp_int pubkey_value)
PublicKey(cpp_int pubkey_value)

Public Attributes inherited from KeyGenerator::ElGamal::PublicKey

Name
Params params
cpp_int public_key_value
The value of the public key.

Public Functions Documentation

function CreatePrivateScalar

static inline cpp_int CreatePrivateScalar(
    const Params & new_p_g
)

function PrivateKey

inline PrivateKey(
    const Params & new_p_g,
    cpp_int prvkey_value
)

function GetPrivateKeyScalar

inline cpp_int GetPrivateKeyScalar() const

Updated on 2026-04-15 at 11:00:39 -0700