413 Commits

Author SHA1 Message Date
7c2c8b9138
created WHY2_CHAT_BASE64_LENGTH_DELIMITER macro 2025-01-30 19:37:49 +01:00
5cc8c43b62
declared why2_chat_ecc_sign
used for signing message with ECC
2025-01-29 21:13:59 +01:00
b977d0dd40
removed unused key macro
and renamed the key file
2025-01-29 20:50:54 +01:00
b833b56aef
changed up crypto header for ECC update
ill replace rsa with ecc i guess. Why? i fucking hate myself
2025-01-29 16:33:57 +01:00
520f8bce34
created anon fns for core-flags changed vars
calling sets flag without changing flag_changed variable
2025-01-13 19:54:44 +01:00
59d6252fe3
declared why2_get_padding_changed fn 2025-01-13 19:45:19 +01:00
0fe3f47752
added why2_set_padding fn
sets padding without messing with flags
2025-01-12 13:12:50 +01:00
e34b8b962f
changed why2_seed_random's seed to UL 2025-01-12 11:07:11 +01:00
25782d1263
changed why2_random to boolean 2025-01-10 18:09:55 +01:00
25113dc0b3
declared seeded-rand fns in crypto 2025-01-10 17:54:27 +01:00
67d6dfd0e7
raised curl timeout to 10 2025-01-09 16:25:05 +01:00
0a7e9ecee7
created WHY2_USER_CONFIG_DIR macro
stupid gitea runner making me do shit
2025-01-09 16:15:55 +01:00
cf277b249f
created WHY2_RECOMMENDED_PADDING_RATE macro
basically padding every 3 chars
2024-11-21 21:04:52 +01:00
1027042edf
added core-crypto to why2 header 2024-11-21 21:03:52 +01:00
326f8f0768
created WHY2_PADDING_NONZERO_TRIES macro
when I try to generate random number, I need to prevent it from being zero, so I try this many times to be non-zero before I forcefully set it to 1

this should run few times but yk, theoretically the generated number can be the same for infinite time (or at least slow the performance :) )
2024-11-21 20:50:20 +01:00
7dcbd4fc80
created why2_list_reverse fn in llist
it reverses list you dipstick
2024-11-21 17:59:15 +01:00
90643d8247
created why2_list_remove_at in llist
removes element by index
2024-11-21 17:20:47 +01:00
c5394e63e5
created why2_recalloc fn in memory
deallocates and callocs
2024-11-21 16:52:06 +01:00
0e246be627
created why2_list_push_at fn in llist
pushes to specific position
2024-11-21 16:49:27 +01:00
08181e5f19
renamed decrypter's key_new to key
haha same shit
2024-11-20 21:45:45 +01:00
5cc04d94b7
renamed encrypter's key_new to key
haha stupid old me was lazy af
2024-11-20 21:40:48 +01:00
f95608f52a
moved key's random number generation to why2_random fn 2024-11-20 17:56:04 +01:00
5b06ea5dc1
changed padding flag to UL 2024-11-20 17:12:54 +01:00
f754e43e19
made sum_segment comments more explanatory 2024-11-20 17:10:39 +01:00
6e7cdde99d
changed why2_sum_segment datatype to ULL
just in case
2024-11-20 16:33:22 +01:00
10fe26cca1
using rolling-hash-like way to count why2_sum_segment 2024-11-20 16:32:13 +01:00
b50305f080
created mod & base primes macros 2024-11-20 16:27:48 +01:00
e0274ec6c1
incread segment_size to 32 2024-11-20 16:24:21 +01:00
c0e9381642
renamed why2_checksum_segment to why2_sum_segment
it isn't that safe to be considered a checksum and the name checksum can be misleading. i am going to use it for getting padding size
2024-11-20 16:19:59 +01:00
c71b5275b5
changed checksum prime/segment ratio 2024-11-19 22:54:38 +01:00
2f6ab00f93
defined WHY2_CHECKSUM_PRIME macro 2024-11-19 22:28:10 +01:00
fb2ac1a7bb
moved checksum stuff to core-crypto
also created the core-crypto
2024-11-19 21:57:29 +01:00
f3bd52b674
declared why2_checksum_segment 2024-11-19 21:39:34 +01:00
ceefd7ed98
removed constant modificator from padding rate 2024-11-19 21:17:39 +01:00
10edcdeccf
added padding parameter to why2_input_flags 2024-11-19 21:05:33 +01:00
d23c166fc6
preventing segfault when user doesn't have homedir in /home 2024-11-17 22:19:42 +01:00
ca81c49fdc
added comments to new tkch 2024-11-17 20:58:44 +01:00
f917140ae5
created more secure tkch WHY_v4
good luck with brute forcing now haha
2024-11-17 20:55:13 +01:00
4ff03864d0
included the rust fn in config header 2024-09-02 15:14:53 +02:00
e06a237491
replaced asking_password with boolean 2024-09-01 20:57:29 +02:00
e94a401308
replaced set_asking with increment_asking 2024-09-01 20:51:52 +02:00
5daf4f2375
declared asking_password functions 2024-09-01 20:49:40 +02:00
70e84980e7
removed unused fns from chat-flags header file 2024-09-01 20:45:39 +02:00
b836bf47d7
declared why2_sha256 2024-09-01 20:39:36 +02:00
e8d60bc008
actually defined password codes
whoopsie
2024-09-01 20:05:17 +02:00
b54490514a
added password server codes 2024-09-01 19:44:33 +02:00
48412cae73
declared why2_get_server_users_path 2024-08-31 16:31:37 +02:00
ada457c824
created macro for server-user config file 2024-08-31 13:20:44 +02:00
b385187d39
added the why2_toml_contains fn to config header 2024-08-31 12:46:12 +02:00
7be5d6ff32
added the why2_toml_write fn to config header 2024-08-31 12:36:52 +02:00