aboutsummaryrefslogtreecommitdiff
path: root/include/odhtdb/PasswordHash.hpp
blob: bc02c535f67dc387aa9dc6a53fb55f373ec79905 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

#include "OwnedMemory.hpp"
#include "DataView.hpp"

namespace odhtdb
{
    const int HASH_PASSWORD_LENGTH = 32;
    
    OwnedMemory hashPassword(const DataView &plainPassword, const DataView &salt);
}