Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
boost/hash2.hpp
✓ #include <boost/hash2.hpp>
Compute SHA-256 hash of a string.
#include <boost/hash2.hpp>
#include <iostream>
int main() {
boost::hash2::sha256 hash;
hash.update("hello", 5);
auto result = hash.result();
std::cout << boost::hash2::to_hex(result) << std::endl;
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.