UltrafastSecp256k1 3.50.0
Ultra high-performance secp256k1 elliptic curve cryptography library
Loading...
Searching...
No Matches
secp256k1::SHA512 Class Reference

#include <sha512.hpp>

Public Types

using digest_type = std::array< std::uint8_t, 64 >
 

Public Member Functions

 SHA512 () noexcept
 
void reset () noexcept
 
void update (const void *data, std::size_t len) noexcept
 
digest_type finalize () noexcept
 

Static Public Member Functions

static digest_type hash (const void *data, std::size_t len) noexcept
 

Detailed Description

Definition at line 18 of file sha512.hpp.

Member Typedef Documentation

◆ digest_type

using secp256k1::SHA512::digest_type = std::array<std::uint8_t, 64>

Definition at line 20 of file sha512.hpp.

Constructor & Destructor Documentation

◆ SHA512()

secp256k1::SHA512::SHA512 ( )
inlinenoexcept

Definition at line 22 of file sha512.hpp.

References reset().

Member Function Documentation

◆ finalize()

digest_type secp256k1::SHA512::finalize ( )
inlinenoexcept

Definition at line 67 of file sha512.hpp.

Referenced by hash().

◆ hash()

static digest_type secp256k1::SHA512::hash ( const void *  data,
std::size_t  len 
)
inlinestaticnoexcept

Definition at line 113 of file sha512.hpp.

References finalize(), and update().

Referenced by ufsecp_sha512().

◆ reset()

void secp256k1::SHA512::reset ( )
inlinenoexcept

Definition at line 24 of file sha512.hpp.

Referenced by SHA512().

◆ update()

void secp256k1::SHA512::update ( const void *  data,
std::size_t  len 
)
inlinenoexcept

Definition at line 37 of file sha512.hpp.

Referenced by hash().


The documentation for this class was generated from the following file: