402 Commits

Author SHA1 Message Date
54b4ebe3e6
created version cmd and code
also added missing comments to codes
2024-08-28 11:35:09 +02:00
aad627b77a
created PM code 2024-04-28 15:25:43 +02:00
cd80a640af
created LIST code but from s->c 2024-04-28 11:49:51 +02:00
c4ddb6888a
declared why2_list_get_size fn 2024-04-27 12:18:07 +02:00
97ba473143
removed INVALID_COMMAND code
it was unused atp
2024-04-27 12:01:49 +02:00
1b4401f944
created WHY2_CHAT_COMMAND_LIST macro 2024-04-27 11:47:04 +02:00
37b1a3a82d
changed code_998 to CODE_LIST 2024-04-27 11:43:53 +02:00
f07a5fe40f
moved trim_string to header file 2024-04-25 20:52:09 +02:00
65135ac961
created why2_allocated fn
checks for why2-mem allocation
2024-04-20 11:22:09 +02:00
19ccc45e0a
created pm code 2024-04-19 20:09:23 +02:00
e023207261
added help command 2024-04-19 16:08:54 +02:00
c98184f1f5
created exit_cmd getter & setter 2024-04-17 18:03:40 +02:00
b2ca56e927
created WHY2_CHAT_COMMAND_EXIT macro
also the prefix
2024-04-17 17:43:25 +02:00
6227b8eb0a
changed WHY2_CHAT_RSA_EXPONENT base to 62
so now it isn't 65537 but H33
2024-04-13 14:20:26 +02:00
d9483f02ca
fixed rsa crypto input strings & output base 2024-04-13 13:45:40 +02:00
9cf062565a
created why2_chat_rsa_pri_decrypt 2024-04-13 13:40:26 +02:00
b74995bbab
changed WHY2_CHAT_RSA_EXPONENT datatype to string 2024-04-13 13:37:06 +02:00
62d2f10e65
declared why2_chat_rsa_pub_encrypt 2024-04-13 13:15:26 +02:00
2755472534
declared why2_get_chat* rsa stuff fns 2024-04-13 12:28:50 +02:00
2f4c73ce09
created why2_chat_deallocate_keys fn 2024-04-13 12:26:47 +02:00
ef1f9bbf38
renamed why2_chat_generate_keys to why2_chat_init_keys
I think the name is much more self-explanatory now
2024-04-13 12:24:19 +02:00
bf64d848c7
declared why2_byte_format_length fn
you pass in string created using byte format and it returns the length of it
2024-02-24 16:55:10 +01:00
21900e27cb
made encrypt & decrypt fn parameters snake_case 2024-02-24 11:51:31 +01:00
3ef929665a
added WHY2_OUTPUT_FORMAT enum to why2_input_flags
you can basically specify if you want the "69.-420" output or you want messy string where each character is one output number iykwim
2024-02-23 20:33:37 +01:00
4564e2b63b
using base 62 for key save 2024-02-23 15:49:22 +01:00
09a326a067
created WHY2_CHAT_KEY_BASE macro 2024-02-23 11:55:07 +01:00
6ede019547
created pub & pri key location macros 2024-02-23 11:11:35 +01:00
923b9907db
renamed WHY2_CHAT_PUB_KEY_LOCATION to WHY2_CHAT_KEY_LOCATION 2024-02-23 11:08:19 +01:00
8599b06495
created WHY2_CHAT_RSA_EXPONENT macro
i mean it is convention AND it will make my life so much fucking easier
2024-02-23 11:03:53 +01:00
0e2da6ccb7
created WHY2_CHAT_PUB_KEY_LOCATION macro
contains path to key dir
2024-02-23 10:50:28 +01:00
2beb4401ee
created WHY2_CHAT_PRIME_ITERS macro 2024-02-23 10:20:47 +01:00
9007dce4fd
created WHY2_CHAT_KEY_BITS macro 2024-02-23 10:14:50 +01:00
35f4b0447a
declered why2_chat_generate_keys fn 2024-02-23 10:13:47 +01:00
13dff8514d
created crypto files 2024-02-23 09:40:34 +01:00
20e805a8ad
removed why2_read_socket fn
using raw data in client loop
2024-02-22 09:31:46 +01:00
fd68b0d01a
implemented max/min username 2024-02-21 21:38:38 +01:00
965395e9d4
implemented max_username_tries from server config 2024-02-21 20:29:40 +01:00
968498cf4e
implemented communication_time from server config 2024-02-21 20:18:39 +01:00
8c742b1884
implemented default_username from server config 2024-02-21 16:39:44 +01:00
e450032f26
implemented server_username from server config 2024-02-21 16:35:44 +01:00
3955561b82
fixed WHY2_CHAT_CONFIG_URL 2024-02-21 11:22:27 +01:00
4d68d6e72b
declared config functions 2024-02-21 10:30:17 +01:00
a6f37b1aa3
added WHY2 into some chat-flags' identificator 2024-02-21 09:06:43 +01:00
92ab33a594
moved codes to why2-flags 2024-02-21 09:06:38 +01:00
532e22ef1d
moved config files to config dir 2024-02-20 20:49:33 +01:00
1004b10a28
created WHY2_MIN_USERNAME_LENGTH flag 2024-01-27 22:17:26 +01:00
31db7c0622
created WHY2_MAX_USERNAME_TRIES flag 2024-01-27 22:13:00 +01:00
5db46ba17d
created WHY2_DEFAULT_USERNAME flag 2024-01-27 17:58:25 +01:00
e36b2ffa61
created WHY2_CHAT_CODE_INVALID_USERNAME flag 2024-01-27 17:45:53 +01:00
e42632db6a
created WHY2_MAX_USERNAME_LENGTH flag 2024-01-27 17:45:29 +01:00