moved WHY2_TEXT_KEY_CHAIN_VERSIONS into core-flags
This commit is contained in:
parent
12e4b7afe5
commit
d7aa65944b
@ -33,6 +33,16 @@ enum WHY2_EXIT_CODES //exit codes you fucking idiot
|
||||
WHY2_WHY2_UPDATE_FAILED = 3 //EXIT VALUE FOR UPDATE FAILED
|
||||
};
|
||||
|
||||
|
||||
//THESE ARE 'HISTORIC' VERSION FOR GENERATING tkch, SO YOU CAN DECRYPT OLD TEXT
|
||||
enum WHY2_TEXT_KEY_CHAIN_VERSIONS
|
||||
{
|
||||
WHY2_v1, //FIRST VERSION EVER. Replaced on May 25th 15:51:57 2022 UTC in commit 35959a43938edc835c59741aac8127bc132591d0. GOOD OLD TIMES. OR NOT. IT REMINDS ME OF HER. this shit hurts, man
|
||||
WHY2_v2, //SECOND VERSION. Replaced on May 28th 17:45:26 2022 UTC in commit 0d64f4fa7c37f0b57914db902258e279a71c7f9a.
|
||||
WHY2_v3, //THIRD VERSION. Replaced on July 11th 17:12:41 2022 UTC in commit 0f01cde0f1e1a9210f4eef7b949e6d247072d3a6.
|
||||
WHY2_v4 //FOURTH VERSION. THE LATEST ONE
|
||||
};
|
||||
|
||||
#define WHY2_VERSION "v5.0" //WHY2_VERSION OF CURRENT BUILD > DO NOT TOUCH THIS <
|
||||
#define WHY2_VERSIONS_URL "https://raw.githubusercontent.com/ENGO150/WHY2/release/versions.json" //URL FOR GETTING versions.json
|
||||
#define WHY2_VERSIONS_NAME "/tmp/why2-versions.json" //do I have to explain this?
|
||||
|
@ -27,16 +27,7 @@ extern "C" {
|
||||
|
||||
#include <why2/flags.h>
|
||||
|
||||
//THESE ARE 'HISTORIC' VERSION FOR GENERATING tkch, SO YOU CAN DECRYPT OLD TEXT
|
||||
enum WHY2_TEXT_KEY_CHAIN_VERSIONS
|
||||
{
|
||||
WHY2_v1, //FIRST VERSION EVER. Replaced on May 25th 15:51:57 2022 UTC in commit 35959a43938edc835c59741aac8127bc132591d0. GOOD OLD TIMES. OR NOT. IT REMINDS ME OF HER. this shit hurts, man
|
||||
WHY2_v2, //SECOND VERSION. Replaced on May 28th 17:45:26 2022 UTC in commit 0d64f4fa7c37f0b57914db902258e279a71c7f9a.
|
||||
WHY2_v3, //THIRD VERSION. Replaced on July 11th 17:12:41 2022 UTC in commit 0f01cde0f1e1a9210f4eef7b949e6d247072d3a6.
|
||||
WHY2_v4 //FOURTH VERSION. THE LATEST ONE
|
||||
};
|
||||
|
||||
void why2_generate_text_key_chain(char *key, int *text_key_chain, int text_key_chain_size, enum WHY2_TEXT_KEY_CHAIN_VERSIONS version) //GENERATES ARRAY FOR ENCRYPTION/DECRYPTION
|
||||
void why2_generate_text_key_chain(char *key, int *text_key_chain, int text_key_chain_size, enum WHY2_TEXT_KEY_CHAIN_VERSIONS version); //GENERATES ARRAY FOR ENCRYPTION/DECRYPTION
|
||||
char *why2_generate_key(int key_length); //GENERATE ENCRYPTION KEY
|
||||
void why2_deallocate_output(why2_output_flags flags); //DEALLOCATES flags
|
||||
enum WHY2_EXIT_CODES why2_check_version(void); //THIS FUNCTION CHECKS IF LATEST WHY2_VERSION OF WHY2 IS USED
|
||||
|
Loading…
x
Reference in New Issue
Block a user