CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
sha256.h File Reference

Third-party (vendored): SHA-256 hash from Stephan Brumme's portable hashing library (create.stephan-brumme.com). More...

#include <string>
#include <stdint.h>
Include dependency graph for sha256.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hash::SHA256
 compute SHA256 hash More...

Namespaces

namespace  hash
 Usage: std::string msg = "The quick brown fox jumps over the lazy dog"; std::string key = "key"; std::string md5hmac = hmac< MD5 >(msg, key); std::string sha1hmac = hmac< SHA1 >(msg, key); std::string sha2hmac = hmac<SHA256>(msg, key);.

Detailed Description

Third-party (vendored): SHA-256 hash from Stephan Brumme's portable hashing library (create.stephan-brumme.com).

Kept close to upstream; not part of the CMSDK documentation remediation - see the file's own copyright notice below.

Definition in file sha256.h.