dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::crypto::sha256 Class Reference

SHA-256 (FIPS 180-4): update() over any run of bytes, digest() ends the message. More...

#include <dx_crypto_sha256.h>

Public Member Functions

void digest (uint8_t(&out)[size]) noexcept
 the digest of what update() took; the object is spent
sha256update (const uint8_t *bytes, size_t count) noexcept

Static Public Attributes

static constexpr size_t size = 32
 the digest's bytes

Detailed Description

SHA-256 (FIPS 180-4): update() over any run of bytes, digest() ends the message.

Member Function Documentation

◆ digest()

void dx::crypto::sha256::digest ( uint8_t(&) out[size])
inlinenoexcept

the digest of what update() took; the object is spent

Here is the call graph for this function:
Here is the caller graph for this function:

◆ update()

sha256 & dx::crypto::sha256::update ( const uint8_t * bytes,
size_t count )
inlinenoexcept
Here is the caller graph for this function:

Member Data Documentation

◆ size

size_t dx::crypto::sha256::size = 32
staticconstexpr

the digest's bytes


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

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.