|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Third-party (vendored): SHA-1 hash from Stephan Brumme's portable hashing library (create.stephan-brumme.com). More...
#include <string>#include <stdint.h>Go to the source code of this file.
Classes | |
| class | hash::SHA1 |
| compute SHA1 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);. | |
Third-party (vendored): SHA-1 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 sha1.h.