Botan  2.18.2
Crypto and TLS for C++11
Namespaces | Functions
argon2fmt.cpp File Reference
#include <botan/argon2.h>
#include <botan/rng.h>
#include <botan/base64.h>
#include <botan/parsing.h>
#include <sstream>

Go to the source code of this file.

Namespaces

 Botan
 

Functions

bool Botan::argon2_check_pwhash (const char *password, size_t password_len, const std::string &hash)
 
std::string Botan::argon2_generate_pwhash (const char *password, size_t password_len, RandomNumberGenerator &rng, size_t p, size_t M, size_t t, uint8_t y=2, size_t salt_len=16, size_t output_len=32)