1432 Commits

Author SHA1 Message Date
08181e5f19
renamed decrypter's key_new to key
haha same shit
2024-11-20 21:45:45 +01:00
1aab7bf996
created padding in encrypter
lot of pain
2024-11-20 21:41:21 +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
5833502c7a
added checksum warning 2024-11-19 22:30:18 +01:00
7638881217
created why2_checksum_segment fn
it isn't meant to be unique checksum. it just really messses with the range of values
2024-11-19 22:29:07 +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
d0e6d794e0
implemented padding rate in all why2_input_flags usages 2024-11-19 21:12:02 +01:00
10edcdeccf
added padding parameter to why2_input_flags 2024-11-19 21:05:33 +01:00
d14f9adaf4
simplified stupid code in tkch_gen
damn old me was really dumb
2024-11-19 20:51:33 +01:00
035928456e
fixed possible WHY2_v4 security problem 2024-11-19 20:48:08 +01:00
5f1b5e2f92
added err todo about client password input 2024-11-17 22:35:56 +01:00
8569003872
not echoing password on prompt 2024-11-17 22:35:04 +01:00
d23c166fc6
preventing segfault when user doesn't have homedir in /home 2024-11-17 22:19:42 +01:00
a7523a64a2
removed 'unused' code from decrypter
dear god, I hate you from the bottom of my heart, but, please do not break my code by removing this code. i have no fucking idea what it does and how it got there. if you'll protect my code stability, I will do absolutely nothing. hail satan
2024-11-17 21:18:28 +01:00
ca81c49fdc
added comments to new tkch 2024-11-17 20:58:44 +01:00
1f0c302e17
Merge remote-tracking branch 'refs/remotes/origin/development' into development 2024-11-17 20:55:26 +01:00
f917140ae5
created more secure tkch WHY_v4
good luck with brute forcing now haha
2024-11-17 20:55:13 +01:00
5915f238cd
using master branch of codacy
lol ive been using commit
2024-10-14 08:48:33 +02:00
7790d194cb
added code for logging in 2024-09-02 15:34:46 +02:00
05bd4255e5
simplified toml_read in rust 2024-09-02 15:20:58 +02:00
4ff03864d0
included the rust fn in config header 2024-09-02 15:14:53 +02:00
9e17c9d06d
created rust fn why2_toml_equals
check if key is equal to x
2024-09-02 15:11:24 +02:00
42562013b5
proccessing password hash in client send loop 2024-09-02 15:02:58 +02:00
d6e540d9e7
implemented asking_password in client receive loop 2024-09-02 15:02:42 +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
357f73ae69
defined asking_password functions 2024-09-01 20:50:46 +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
c4fc11063a
created source file for chat-flags 2024-09-01 20:44:57 +02:00
810a34d7c9
removed unused 'unused'
haha you dumb idiot
2024-09-01 20:43:31 +02:00
642ef37016
created sha256 function returning string 2024-09-01 20:40:21 +02:00
b836bf47d7
declared why2_sha256 2024-09-01 20:39:36 +02:00
5b213476d4
using libcrypto in chat build 2024-09-01 20:21:02 +02:00
477ab7342c
added openssl dependency 2024-09-01 20:20:44 +02:00
c51bb609ba
proccesing registration at client-side
it isnt hashed rn, do not use this pls
2024-09-01 20:18:13 +02:00
d6221da442
created server code for registering user 2024-09-01 20:11:23 +02:00
e8d60bc008
actually defined password codes
whoopsie
2024-09-01 20:05:17 +02:00