working on adding a entity workflow

This commit is contained in:
2026-03-16 13:22:59 -07:00
parent d18e4cea55
commit 76d2e27879
50 changed files with 988 additions and 389 deletions

View File

@@ -0,0 +1,11 @@
#include "user_data.h"
#include <openssl/rand.h>
#include <openssl/hmac.h>
#include <string.h>
int Hash_Password(const char *password, unsigned char *out) {
const unsigned char salt[] = "alskdjaslkjdjasdjiw3i";
int size =PKCS5_PBKDF2_HMAC(password, strlen(password), salt, sizeof(salt),
1000, EVP_sha256(), 32, out);
return size;
}