Commit Graph

137 Commits

Author SHA1 Message Date
c607046831
Implemented improved method for detecting identical files. 2022-03-04 20:56:20 +01:00
ca16052112
Some code refactoring. 2022-03-01 23:34:50 +01:00
b95e578e33
Print the system error message, if the input or output file could not be opened. 2022-02-27 19:38:10 +01:00
65c17e6759
Make sure that input file name and output file name are distinct (to the extent possible). 2022-02-25 00:12:52 +01:00
9b0d109336
Refactored process event handler class + added new "random password" icon. 2022-02-11 22:02:50 +01:00
65f08d43a5
Replaced clock() function by clock_gettime() on Linux and QueryPerformanceFrequency() on Windows. 2022-02-11 21:52:22 +01:00
18e398a1e7
Refactored the ProcessRunner and PasswordGen classes. 2022-02-10 22:55:52 +01:00
5dfaabf6c4
GUI: Replaced the built-in password generator with call to SlunkCrypt CLI program + bump target framework version to 4.5.2. 2022-02-09 23:52:09 +01:00
b39b7cafaa
Small improvement to the password generator. 2022-02-08 22:53:02 +01:00
c63c3bffe6
Make sure that the requested number of random bytes is fully read, even if a single read() invocation returned fewer than "count" bytes. 2022-02-08 22:46:33 +01:00
956e79ecc6
Increment patch version. 2022-01-27 21:51:53 +01:00
1c587be39b
Gracefully handle an *empty* argument array (argc < 1), which apparently is possible on Linux and maybe others. 2022-01-27 00:21:28 +01:00
4caad0d279
Updated the README file. 2021-11-16 21:15:01 +01:00
d2ea1a7a7c
Implemented application configuration setting to disable the busy indicator (by default). 2021-11-13 17:18:42 +01:00
801f812714
Replaced 'glibc' checks with more general 'linux' checks in order to better support alternative C libraries (e.g. musl libc). 2021-11-13 02:58:04 +01:00
153aca4517
Implemented option to disable the busy indicator (animation). 2021-11-11 21:36:13 +01:00
9e29561707
Refactored project/solution files. 2021-11-10 19:38:35 +01:00
17d807bbb3
Added runtime CPU detection for SSE2 capability to the GUI front-end. 2021-11-09 23:23:43 +01:00
9f5e1faf6d
Small improvement to release script. 2021-05-27 23:04:13 +02:00
0e65355d2f
Workaround for bug in older version of the UCRT on Windows XP: Explicitly link UCRT version 10.0.14393.0 and force the minimum required OS version to 5.1. 2021-05-10 21:21:47 +02:00
c3a82530f1
Added simple release script. 2021-05-08 19:53:16 +02:00
61fa41c888
GUI: Added button to generate a random password to the "Encrypt" tab. 2021-05-08 19:53:15 +02:00
502e92ee09
Added a simple GUI front-end for Windows platform. 2021-05-04 21:35:30 +02:00
7f643ad566
Do not request more than 256 bytes of random data from getentropy() at once. 2021-04-21 16:02:25 +02:00
b63dfd1a44
Switch to using getentropy() function, because it is available on OpenBSD and it doesn't require an additional header. 2021-04-20 21:59:51 +02:00
acc52ce8d8
Small Makefile improvement. 2021-04-19 22:21:07 +02:00
b7e32f5f0a
Refactored passphrase generator into a separate file. 2021-04-18 22:19:17 +02:00
46dc28f3ca
Refactored encryption/decryption routines as well as the self-test routine into separate files. 2021-04-18 15:32:37 +02:00
2e93d8dc28
Fall back to /dev/urandom, if compiled with getrandom() support but that syscall is not available at runtime. 2021-04-17 20:07:22 +02:00
a656e9de37
Refactored key-derivation code into a separate file + some code clean-up. 2021-04-17 15:13:13 +02:00
102233a237
Fold the hash at the very end of the keygen loop (effectively), instead of already in the hash function. 2021-04-15 22:51:35 +02:00
ff48e473a9
Print a warning when ignoring excess command-line arguments. 2021-04-11 20:55:39 +02:00
772c88a387
Workaround for Intel® oneAPI DPC++/C++ Compiler detection. 2021-04-11 18:26:44 +02:00
a9e1974149
Improved test cases to also verify the checksum of the ciphertext. 2021-04-10 16:37:09 +02:00
d76d0f6e4b
Do not use __umul128() intrinsic with MSVC, as it is not faster at all + some code clean-up. 2021-04-10 01:47:00 +02:00
3cdfc9d9ab
Small tweak to self-test routine. 2021-04-08 02:38:01 +02:00
fde0906f98
Using the 128-bit hash function, instead of 64-Bit one. 2021-04-08 02:38:00 +02:00
0e75e05fda
Small code simplification in open_files() function. 2021-04-07 02:28:26 +02:00
0043b907a7
Small improvement to Makefile. 2021-04-07 01:40:05 +02:00
13e9420ca1
Added MSVC configurations "Release with SSE2" and "Release with debug information". 2021-04-04 20:22:46 +02:00
4ce6e5b828
Remove an incomplete (or corrupted) output file by default. 2021-04-03 19:26:15 +02:00
874a54a665
Slightly tweak stepping algorithm to include a counter. 2021-04-03 17:02:39 +02:00
80db0ac404
VS2010 compile fix. 2021-04-02 20:04:30 +02:00
469981bef2
Updated README file. 2021-04-02 18:35:25 +02:00
06f57ca483
Clean up function names. 2021-04-02 16:37:19 +02:00
e6511aec5e
Revamped the stepping algorithm. 2021-04-01 23:44:13 +02:00
8ebf71ba73
Simplified crypt_state_t by merging separate fwd/bwd arrays. 2021-04-01 20:27:14 +02:00
471e08737b
Replaced separate encrypt() and decrypt() functions with a single process() function + added 'mode' parameter to alloc() and reset() functions. 2021-04-01 01:58:39 +02:00
75b10acd6a
Small fix to rotation code. 2021-04-01 00:36:04 +02:00
26cfd32d24
Revamped the stepping algorithm. 2021-03-31 00:05:40 +02:00