|
a40f9637f0
|
replaced _Bool with boolean typedef
basically char but it looks good and smart now
|
2022-10-15 15:21:28 +02:00 |
|
|
f889bb28e3
|
created CURL_TIMEOUT constant
and implemented it ofc
|
2022-08-25 12:02:16 +02:00 |
|
|
3b0a59545d
|
fixed no connection segfault
this was caused by my stupid-ass
|
2022-08-25 11:49:54 +02:00 |
|
|
1d769cec36
|
set cURL timeout to 3s
hey..... versions.json is currently 374 bytes, so it's enough for you, right?
|
2022-08-25 11:34:54 +02:00 |
|
|
916c670e4b
|
fixed countRepeatedKeySize result
I forgot that the key has to be 2x longer than text
TEXT = Hi, KEY = abcd
|
2022-08-25 11:11:35 +02:00 |
|
|
3421fb5b70
|
*really* fixed countUnusedKeySize result
result number was basically only even
|
2022-08-25 10:52:05 +02:00 |
|
|
c51002e100
|
unfucked the countUnusedKeySize fix
this reverts commit f157b2181074d11268abc543a891898dff1057c8
|
2022-08-24 16:04:54 +02:00 |
|
|
3c600c2d78
|
removed unused UNUSED modificatiors from countRepeatedKeySize
unused UNUSED lmao
|
2022-08-24 16:01:48 +02:00 |
|
|
f157b21810
|
fixed countUnusedKeySize result (I hope)
|
2022-08-24 16:00:44 +02:00 |
|
|
09aa76a33d
|
created code for countRepeatedKeySize
WARNING: This will work only if you don't change textKeyChain gen, so pls don't
|
2022-08-24 15:54:53 +02:00 |
|
|
2f8ca17e50
|
added missing UNUSED modificator to countRepeatedKeySize
|
2022-08-24 14:57:33 +02:00 |
|
|
21ab6a8674
|
declared countRepeatedKeySize
just test declaration
|
2022-08-24 14:54:35 +02:00 |
|
|
8617e4ca7e
|
simplified opening VERSIONS file
|
2022-07-24 16:43:03 +02:00 |
|
|
cfdfd2aa2c
|
replaced UC with _Bool
|
2022-07-22 18:22:42 +02:00 |
|
|
340834adf6
|
implemented math callbacks in TKCh generation => made code easier
part 3/3 (done lol)
|
2022-07-22 17:46:37 +02:00 |
|
|
6a821910f3
|
created math operation function using callbacks
part 2/3
|
2022-07-22 17:43:01 +02:00 |
|
|
86cd1e31c0
|
created math operations callbacks
part 1/3
|
2022-07-22 17:42:26 +02:00 |
|
|
0f01cde0f1
|
[E&D CHANGE] reversed textKeyChain generation
tag 'old-generation-but_newer' contains older generation
https://github.com/ENGO150/WHY2/tree/old-generation-but_newer
|
2022-07-11 19:12:41 +02:00 |
|
|
8363ff25ea
|
implemented getFlags in misc
|
2022-07-10 18:27:00 +02:00 |
|
|
163cbb8c6d
|
removed inputFlags from misc functions
getter time babyyy
|
2022-07-10 18:24:44 +02:00 |
|
|
212f0205c5
|
renamed noUpdate flag to update & swapped its value everywhere
it was kinda annoying when you were trying to disable it with positive value :DD
|
2022-07-10 17:51:31 +02:00 |
|
|
c3e7caf4b3
|
added missing installCommand deallocation to auto-update
NOTE: function 'replaceWord' returns allocated text
|
2022-06-21 19:14:06 +02:00 |
|
|
9ffefa4419
|
biatch, added every missing type cast
if you're asking why, look at next commit
|
2022-06-19 17:19:03 +02:00 |
|
|
4aa80c199c
|
fixed (I hope) every allocation size
"Just use Valgrind", they said.... I should listen to them
|
2022-06-13 18:13:27 +02:00 |
|
|
b5e27a1857
|
changed checking functions type from I to UC
|
2022-06-12 17:20:55 +02:00 |
|
|
ebe54b4b4a
|
added missing SUCCESS value to skipping check in checkVersion
|
2022-06-12 16:37:32 +02:00 |
|
|
99e1ca932d
|
added missing SUCCESS exit to checkKey & checkText
|
2022-06-12 16:36:41 +02:00 |
|
|
827331c2ff
|
changed all other checking functions type to int
|
2022-06-12 16:35:43 +02:00 |
|
|
d196818ec0
|
changed checkVersion return type to int
it will return exitCode
|
2022-06-12 16:34:19 +02:00 |
|
|
f9bdbb1053
|
replaced all exit calls by returning noOutput
|
2022-06-12 16:28:16 +02:00 |
|
|
23663d5524
|
added warning
sad
|
2022-06-11 19:05:23 +02:00 |
|
|
388f0d05c7
|
created code for auto-update
it's just beta - you have to run program with root perms
|
2022-06-11 19:00:24 +02:00 |
|
|
7d36275b2a
|
made 'else' prettier
|
2022-06-10 19:48:45 +02:00 |
|
|
312e362674
|
replaced all skipCheck for noCheck
|
2022-06-08 19:26:24 +02:00 |
|
|
64c225f56e
|
added missing space to compareTimeMicro
|
2022-05-30 19:18:37 +02:00 |
|
|
9823b5044a
|
added elapsedTime to outputFlags
this returns elapsed time in microseconds
|
2022-05-30 19:09:47 +02:00 |
|
|
abbe519ab4
|
added unusedKeySize to outputFlags
this returns positive number, which represents how many chars from key are unused
|
2022-05-30 18:01:21 +02:00 |
|
|
96945a4d31
|
simplified getting content of fileBuffer in checkVersion
i have no idea why it was like that
|
2022-05-29 18:40:33 +02:00 |
|
|
7714e45019
|
changed countIntLength type from I to UL
|
2022-05-29 17:47:50 +02:00 |
|
|
e3790a2bff
|
changed keyLength type from I to UL
|
2022-05-29 17:46:16 +02:00 |
|
|
4e0a0c7a27
|
created function checkText
this checks if text has some content
|
2022-05-29 16:49:18 +02:00 |
|
|
0d64f4fa7c
|
changed textKeyChain generation
it's a little change but it will make encryption/decryption old text UNSUCCESSFUL
|
2022-05-28 19:45:26 +02:00 |
|
|
3d48c87d8b
|
made generating textKeyChain more variable
|
2022-05-28 19:41:57 +02:00 |
|
|
ad6209b1cb
|
changed generateTextKeyChain's key type from array to pointer
|
2022-05-28 19:38:46 +02:00 |
|
|
252bdef502
|
added note for unknown version
|
2022-05-26 19:50:58 +02:00 |
|
|
073cdd2468
|
moved checking for valid key to misc
I'm trying to make code variable as much as possible
|
2022-05-26 18:40:46 +02:00 |
|
|
35959a4393
|
changed textKeyChain generation > fixed possible buffer overflow
|
2022-05-25 17:51:57 +02:00 |
|
|
12557a6a94
|
removed new FUCKING trailing spaces
|
2022-05-25 17:20:10 +02:00 |
|
|
cffdd22b85
|
found some better way to rewind FILE in version checking
just removing that TODO
|
2022-05-25 17:18:39 +02:00 |
|
|
6282bc6aec
|
removed only char sizeof
'cause char length is 1 lulw
|
2022-05-24 18:56:32 +02:00 |
|