using base 62 for key save

This commit is contained in:
Václav Šmejkal 2024-02-23 15:49:22 +01:00
parent 836d3ec44a
commit 4564e2b63b
No known key found for this signature in database
GPG Key ID: A77FB9B47AD0B168

View File

@ -33,7 +33,7 @@ extern "C" {
#define WHY2_CHAT_KEY_LOCATION WHY2_CHAT_CONFIG_DIR "/keys" //KEYS LOCATION #define WHY2_CHAT_KEY_LOCATION WHY2_CHAT_CONFIG_DIR "/keys" //KEYS LOCATION
#define WHY2_CHAT_PUB_KEY "pub" #define WHY2_CHAT_PUB_KEY "pub"
#define WHY2_CHAT_PRI_KEY "pri" #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 void why2_chat_generate_keys(void); //GENERATE RSA KEYS