From 4564e2b63b1437f8947a34d59a65ba8911d6c75b Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 23 Feb 2024 15:49:22 +0100 Subject: [PATCH] using base 62 for key save --- include/chat/crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/chat/crypto.h b/include/chat/crypto.h index cc87eeb..5097093 100644 --- a/include/chat/crypto.h +++ b/include/chat/crypto.h @@ -33,7 +33,7 @@ extern "C" { #define WHY2_CHAT_KEY_LOCATION WHY2_CHAT_CONFIG_DIR "/keys" //KEYS LOCATION #define WHY2_CHAT_PUB_KEY "pub" #define WHY2_CHAT_PRI_KEY "pri" -#define WHY2_CHAT_KEY_BASE 16 //BASE IN THE GENERATED KEYS ARE STORED IN WHY2_CHAT_KEY_LOCATION +#define WHY2_CHAT_KEY_BASE 62 //BASE IN THE GENERATED KEYS ARE STORED IN WHY2_CHAT_KEY_LOCATION void why2_chat_generate_keys(void); //GENERATE RSA KEYS