Commit Graph
25 Commits
Author SHA1 Message Date
RandyTheSilly e8ef243e87 Make input zeroization optional 2026-02-10 23:34:30 -05:00
RandyTheSilly ddd7f893e9 Fix password being zeroized in RunSanityCheck() 2026-02-10 21:54:34 -05:00
RandyTheSilly f49248930b Rename all occurrences of "passphrase" to "password" 2026-02-10 21:14:49 -05:00
RandyTheSilly c5e259a446 Significant hardening (always work on bytes; zeroize everything); address JetBrains warnings 2026-02-10 00:33:56 -05:00
RandyTheSilly 57eefdf8b4 Return error from wrappers.Decrypt() if Argon2 salt is not present 2026-01-25 15:57:26 -05:00
RandyTheSilly 8907fdc36e Optimize salt+nonce appends 2025-05-19 20:10:03 -04:00
RandyTheSilly 0e7a796bb1 Derive HKDF keys (per algo) from primary key: roughly doubles time/security efficiency 2025-05-19 19:59:57 -04:00
RandyTheSilly 7ceea99f35 Set static thread count; add sanity check before encryption on example program 2025-05-11 10:58:47 -04:00
RandyTheSilly b49d9f1eea Remove warnings about using Decrypt/Encrypt directly 2025-05-08 19:40:41 -04:00
RandyTheSilly d324e62474 Specify and solidify usage modes 2025-05-08 20:18:31 +00:00
RandyTheSilly e7f041bb0a Make daemon return decrypted data, not passphrase 2025-05-08 18:47:35 +00:00
RandyTheSilly 949ef622c7 Remove Scrypt 2025-05-08 17:36:04 +00:00
RandyTheSilly ac5314396e Use multiple KDFs (add Scrypt for AES256) 2025-05-08 17:26:12 +00:00
RandyTheSilly ce0b5d4bf5 Initial tuning of argon2 2025-05-08 16:31:17 +00:00
RandyTheSilly e8403315a8 Ignore unused error 2025-05-08 14:28:36 +00:00
RandyTheSilly eda92fccdd Use all available threads for argon2 2025-05-08 14:17:52 +00:00
RandyTheSilly 0479447f14 Add documentation for high-level functions 2025-05-04 17:47:13 -04:00
RandyTheSilly ec358c6d0c Implement sanity check in example program 2025-05-03 20:05:02 -04:00
RandyTheSilly baad84563e Add sanity check to prevent data loss in the event the user mistypes their passphrase during encryption 2025-05-03 19:36:23 -04:00
RandyTheSilly e4ae5b4a9d Add high-level Decrypt() and Encrypt() functions for use by importing applications 2025-05-03 19:34:26 -04:00
RandyTheSilly 18ea71e7e4 Correct constant comment 2025-05-03 18:49:23 -04:00
RandyTheSilly 111d70596a Give error handling control to importing applications 2025-05-03 18:42:55 -04:00
RandyTheSilly 146901a479 Implement AES256+GCM encryption/decryption (cascading) 2025-05-03 18:13:40 -04:00
RandyTheSilly b93acdcaef Improved decryption error messages 2025-05-03 17:17:14 -04:00
RandyTheSilly 84bd8c3a42 Initial encryption/decryption via ChaCha20-Poly1305 2025-05-03 17:13:09 -04:00