libbasen v1.1.0
encoding/decoding from arbitrary base
Loading...
Searching...
No Matches
hash Namespace Reference

Functions

void sha256 (const uint8_t *data, size_t data_size, uint8_t *hash) noexcept
 
std::vector< uint8_t > sha256 (std::span< const uint8_t > data) noexcept
 

Function Documentation

◆ sha256() [1/2]

void hash::sha256 ( const uint8_t * data,
size_t data_size,
uint8_t * hash )
noexcept

◆ sha256() [2/2]

std::vector< uint8_t > hash::sha256 ( std::span< const uint8_t > data)
noexcept