implemented RegisterRequest handler

This commit is contained in:
2025-11-13 06:19:16 +05:00
parent d53557dbb6
commit ef2531c63b
12 changed files with 126 additions and 21 deletions

View File

@@ -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
//////////////////////////////////////////////////////////////////////////////