Honeycomb  0.1
Component-Model Framework
Classes | Namespaces | Functions
Hash.h File Reference
#include "Honey/Misc/Optional.h"
#include "Honey/String/Bytes.h"
Include dependency graph for Hash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  honey::hash::sval
 256-bit secure hash value More...
 

Namespaces

 honey
 Global Honeycomb namespace.
 
 honey::hash
 Data hashing functions. Produce a small fingerprint from a larger data set. Two data sets may 'collide', producing the same fingerprint.
 

Functions

szt honey::hash::fast (ByteBufConst bs, szt seed=0)
 Quickly generate a small hash value. Each seed value produces a unique hash from the same data. More...
 
szt honey::hash::fast (const char *str, szt seed=0)
 fast() for UTF-8 strings More...
 
szt honey::hash::fast (const std::string &str, szt seed=0)
 fast() for UTF-8 strings More...
 
szt honey::hash::fast (const String &str, szt seed=0)
 fast() for strings, converted to UTF-8 before hashing More...
 
constexpr szt honey::hash::fast_ (const char *str, szt len, szt seed=0)
 Compile-time version of fast() for UTF-8 strings. More...
 
sval honey::hash::secure (ByteBufConst bs, optional< const sval & > key=optnull)
 Generate a large secure hash value. More...
 
sval honey::hash::secure (const char *str, optional< const sval & > key=optnull)
 secure() for UTF-8 strings More...
 
sval honey::hash::secure (const std::string &str, optional< const sval & > key=optnull)
 secure() for UTF-8 strings More...
 
sval honey::hash::secure (const String &str, optional< const sval & > key=optnull)
 secure() for strings, converted to UTF-8 before hashing More...
 
vector< sval > honey::hash::secureKeys (const String &password, const Bytes &salt, int iterCount, int keyCount)
 Generate secure keys derived from a password. More...