Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
hgps::SHA256Context Class Reference

An object for computing a SHA256 hash. More...

#include <sha256.h>

Public Member Functions

 SHA256Context ()
 
 ~SHA256Context ()
 
template<class R >
void update (const R &range)
 Feed in more data to the hash algorithm.
 
std::string finalise ()
 Finish calculating the hash and return.
 

Detailed Description

An object for computing a SHA256 hash.

Constructor & Destructor Documentation

◆ SHA256Context()

hgps::SHA256Context::SHA256Context ( )

◆ ~SHA256Context()

hgps::SHA256Context::~SHA256Context ( )

Member Function Documentation

◆ finalise()

std::string hgps::SHA256Context::finalise ( )

Finish calculating the hash and return.

Here is the caller graph for this function:

◆ update()

template<class R >
void hgps::SHA256Context::update ( const R &  range)
inline

Feed in more data to the hash algorithm.

Template Parameters
RRange type
Parameters
rangeA container-like range of char data
Here is the caller graph for this function:

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