|
OXY API 1.0
OXY API Library Documentation
|
Hash representation and operations for the oxy library. More...
Classes | |
| struct | oxy::hash_fn |
| Functor to compute SHA-1 hashes for various input types. More... | |
Namespaces | |
| namespace | oxy |
| This root namespace contains the common types and operations for the OXY-API library. | |
Typedefs | |
| using | oxy::hash_t = std::string |
| Type alias for the SHA-1 hash representation. | |
Variables | |
| constexpr hash_fn | oxy::hash |
| A constexpr instance of the hash_fn function object for use in functional programming. | |
Hash representation and operations for the oxy library.
This header defines the hash_fn structure, which provides a mechanism to compute SHA-1 hashes for various input types. It includes an operator() that takes different types of input (e.g., strings, streams) and returns the corresponding SHA-1 hash as a string. The functor is designed to be used in a constexpr context for compile-time evaluation of hashing operations.
@license MPL-2.0