A bunch of useful cryptographic functions (esp. hashing), acting as a wrapper to C crypto libraries. More...
#include <nawa/hashing/HashTypeTable/HashTypeTable.h>
#include <nawa/hashing/HashTypeTable/impl/DefaultHashTypeTable.h>
#include <nawa/hashing/HashingEngine/HashingEngine.h>
#include <nawa/hashing/HashingEngine/impl/BcryptHashingEngine.h>
#include <string>
Go to the source code of this file.
Namespaces | |
namespace | nawa |
namespace | nawa::crypto |
Functions | |
std::string | nawa::crypto::sha1 (std::string const &input, bool hex=true) |
std::string | nawa::crypto::sha224 (std::string const &input, bool hex=true) |
std::string | nawa::crypto::sha256 (std::string const &input, bool hex=true) |
std::string | nawa::crypto::sha384 (std::string const &input, bool hex=true) |
std::string | nawa::crypto::sha512 (std::string const &input, bool hex=true) |
std::string | nawa::crypto::md5 (std::string const &input, bool hex=true) |
std::string | nawa::crypto::passwordHash (std::string const &password, hashing::HashingEngine const &hashingEngine=hashing::BcryptHashingEngine()) |
bool | nawa::crypto::passwordVerify (std::string const &password, std::string const &hash, hashing::HashTypeTable const &hashTypeTable=hashing::DefaultHashTypeTable()) |
A bunch of useful cryptographic functions (esp. hashing), acting as a wrapper to C crypto libraries.
Definition in file crypto.h.