group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
net::crypto Namespace Reference

Typedefs

using Sha256Digest = std::array<std::uint8_t, 32>

Functions

Sha256Digest sha256 (const void *data, std::size_t len)
Sha256Digest hmacSha256 (const void *key, std::size_t keyLen, const void *data, std::size_t len)
bool constantTimeEqual (const std::uint8_t *a, const std::uint8_t *b, std::size_t len)

Typedef Documentation

◆ Sha256Digest

using net::crypto::Sha256Digest = std::array<std::uint8_t, 32>

Function Documentation

◆ constantTimeEqual()

bool net::crypto::constantTimeEqual ( const std::uint8_t * a,
const std::uint8_t * b,
std::size_t len )
Here is the caller graph for this function:

◆ hmacSha256()

Sha256Digest net::crypto::hmacSha256 ( const void * key,
std::size_t keyLen,
const void * data,
std::size_t len )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sha256()

Sha256Digest net::crypto::sha256 ( const void * data,
std::size_t len )
Here is the caller graph for this function: