34 Commits

Author SHA1 Message Date
7e33714f53
added WHY2_TEXT_KEY_CHAIN_VERSIONS enum as gen_tkch parameter 2024-01-24 14:54:30 +01:00
54da223e23
moved the historic tkch functions into enum versions 2024-01-24 14:47:48 +01:00
c31ea476a6
added c++ support to headers 2024-01-23 18:27:24 +01:00
74e0453c5b
moved core-misc's replaceWord to global (as why2_replace) 2023-04-20 08:59:23 +02:00
59b040d26e
declared why2_die 2023-02-09 18:47:42 +01:00
6e3599ca74
changed why2_generate_key type to char* 2023-02-08 19:31:46 +01:00
ae906571e5
revert why2_generate_key type change
revert c0e49247921b97c15e06427bcbbc3c0628bfff3d
2023-02-03 17:18:09 +01:00
c0e4924792
changed why2_generate_key's type to WHY2_EXIT_CODES 2023-02-03 17:15:40 +01:00
bbb09428d1
renamed all 'public' identificators to snake_case
I mean the identificators user gets in contact with
2023-02-03 17:03:46 +01:00
5e8cf54145
renamed every global function & flag
basically - it's in snake_case now AND there's "why2_" at the beginning
2023-01-29 20:14:11 +01:00
1a209b8675
replaced some why2_bool with EXIT_CODES 2023-01-27 16:14:04 +01:00
5524a4b6e5
renamed boolean typedef to why2_bool
to prevent from conflicts
2023-01-27 16:03:01 +01:00
3776ad5e02
added void parameter to every function without any parameters 2022-12-11 14:57:57 +01:00
acaa7430b8
moved encryption key generation to misc.c 2022-12-09 16:59:12 +01:00
f71647e0ff
added license at top of every file
I mean, the files where it is possible
2022-12-04 18:55:13 +01:00
a40f9637f0
replaced _Bool with boolean typedef
basically char but it looks good and smart now
2022-10-15 15:21:28 +02:00
5d53a6e706
created countRepeatedKeySize function
and guess what is it for

hehe
2022-08-24 14:53:02 +02:00
cfdfd2aa2c
replaced UC with _Bool 2022-07-22 18:22:42 +02:00
163cbb8c6d
removed inputFlags from misc functions
getter time babyyy
2022-07-10 18:24:44 +02:00
b5e27a1857
changed checking functions type from I to UC 2022-06-12 17:20:55 +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
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
7714e45019 changed countIntLength type from I to UL 2022-05-29 17:47:50 +02:00
4e0a0c7a27 created function checkText
this checks if text has some content
2022-05-29 16:49:18 +02:00
ad6209b1cb changed generateTextKeyChain's key type from array to pointer 2022-05-28 19:38:46 +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
7b5f1ba9b6 created function for deallocating outputFlags 2022-05-08 19:54:46 +02:00
7c86692363 added inputFlags as checkVersion parameter 2022-05-06 17:48:28 +02:00
cd9f29041d created comments 2022-05-04 19:27:51 +02:00
adf9f68dcb created function for generating textKeyChain 2022-04-27 18:07:07 +02:00
60adbc6f86 created function for getting length of integer 2022-04-23 18:07:45 +02:00
a9afb05768 created misc.c 2022-04-22 18:39:48 +02:00