37 Commits

Author SHA1 Message Date
e4c5feedb4
implemented encryptedTextKeyChain function in encrypter & decrypter
you can now change the encryption operation in one function
2022-10-16 19:46:56 +02:00
e293b2f371
added missing 'countRepeatedKeySize' parameter to decrypter & encrypter 2022-08-24 14:56:21 +02:00
5e87e4612d
simplified cleaning returningText in decrypter
you stoopid
2022-07-19 17:22:12 +02:00
f7d8bb052e
fixed decryption bug
basically, the buffer had some content after allocation in it, so it screwed up last character in 1/10 cases
2022-07-19 17:18:00 +02:00
dfbf65cc0f
replaced repeating malloc with realloc
tf I tried to fix this much earlier but it was throwing segfaults... I should start taking those pills
2022-07-15 19:32:57 +02:00
635f946671
changed decrypter's 'encryptedTextKeyChain' allocation to heap 2022-07-11 17:50:23 +02:00
7c87d835dd
removed ALL forgotten (flags) parameters passed to misc functions
I mean... I hope
2022-07-10 18:31:40 +02:00
e49f56f288
implemented getFlags function 2022-07-10 18:18:36 +02:00
ad21a520b5
removed inputFlags from encrypt & decrypt functions 2022-07-10 18:17:05 +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
fdd41f35a5
implemented encryptionSeparator getter 2022-06-18 18:30:06 +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
3412ebd8d3
implemeted the new integer types of check functions in decrypter
didn't expect this, right? lmao
2022-06-12 17:06:44 +02:00
c7902f5c83
added missing exit code to returning outputFlags in decrypter & encrypter 2022-06-12 16:23:26 +02:00
8cddd8ee30
removed unused check for using checkVersion 2022-06-08 19:27:55 +02:00
312e362674
replaced all skipCheck for noCheck 2022-06-08 19:26:24 +02:00
57c49a3d72
added checking for active version to decrypter 2022-05-31 18:44:25 +02:00
9823b5044a
added elapsedTime to outputFlags
this returns elapsed time in microseconds
2022-05-30 19:09:47 +02:00
637ee2b842
fixed invalid unusedKeySize
I put wrong variable as parameter
2022-05-30 18:04:24 +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
4e0a0c7a27 created function checkText
this checks if text has some content
2022-05-29 16:49:18 +02:00
ac82127bcc fixed decryption returningText bugs
I forgot that newly allocated text has some content....
2022-05-29 16:44:14 +02:00
e94c273bd9 probably fixed deallocateOutput segfault
I thought the key returned as outputFlags (decrypter) was pointer to completely new address, but it often tried to deallocate unallocated key
2022-05-26 19:35:22 +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
0fed6e7f0c Reverted null character "fixes"
This reverts commit 62c21eb37f9bdc9570c53674daf2715373cb80f5.
2022-05-26 18:40:46 +02:00
b84b8aa7cc added/fixed null characters 2022-05-26 18:40:46 +02:00
314846a45e whoops, I missed one
foq
2022-05-24 19:01:31 +02:00
6282bc6aec removed only char sizeof
'cause char length is 1 lulw
2022-05-24 18:56:32 +02:00
ef4f9f5084 reverted the sizeof removing
I have no idea
2022-05-24 18:45:44 +02:00
70a2040bab removed unused sizeof
fixing my recent mistakes
2022-05-24 18:03:08 +02:00
7f90c74124 trying to add correct memory allocation
it's possible I'll revert this lol
2022-05-23 18:02:59 +02:00
67380f51cf fixed invalid allocations
I forgot to add sizeof(int)
2022-05-13 17:30:17 +02:00
e60c05a59f added missing textKeyChain deallocation 2022-05-11 17:41:45 +02:00
0389ca0226 removed deallocation broking outputFlags 2022-05-08 19:48:50 +02:00
efab8647a8 added missing flags implementation 2022-05-08 19:41:20 +02:00
a11415b949 implemented inputFlags & outputFlags 2022-05-06 17:43:00 +02:00
eefffcecdc created folder for WHY2 lib in src/ 2022-05-04 18:18:07 +02:00