implemented RegisterRequest handler
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "tlibc/collections/Array.h"
|
||||
#include "tlibc/errors.h"
|
||||
#include "bearssl_rand.h"
|
||||
#include "common_constants.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
// //
|
||||
@@ -14,7 +15,6 @@
|
||||
/// @param out_buffer u8[PASSWORD_HASH_SIZE]
|
||||
/// @param rounds number of rounds
|
||||
void hash_password(Array(u8) password, u8* out_buffer, i32 rounds);
|
||||
#define PASSWORD_HASH_SIZE 32
|
||||
#define PASSWORD_HASH_LVL_ROUNDS 1e5
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user