Pyrogenesis  trunk
Functions
Hashing.h File Reference
#include "ps/CStr.h"
Include dependency graph for Hashing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

CStr8 HashCryptographically (const CStr8 &password, const CStr8 &salt)
 Hash a string in a cryptographically secure manner. More...
 

Function Documentation

◆ HashCryptographically()

CStr8 HashCryptographically ( const CStr8 &  password,
const CStr8 &  salt 
)

Hash a string in a cryptographically secure manner.

This method is intended to be 'somewhat fast' for password hashing, and should neither be used where a fast real-time hash is wanted, nor for more sensitive passwords.

Returns
a hex-encoded string.