Show HN: CryptoPocket, Encrypt anything then Decrypt by providing a required key
github.com
github.com
Edit: I also can't find any evidence that this tool changes the default block mode for `RijndaelManaged`[3], which is CBC. Without any other mitigations (which I can't find), this makes this tool vulnerable to a chosen ciphertext attack.
[1]: https://github.com/miroslavpejic85/cryptopocket/blob/main/sr...
[2]: https://docs.microsoft.com/en-us/office/vba/language/referen...
[3]: https://docs.microsoft.com/en-us/dotnet/api/system.security....
I think you should put a note in the README disclaiming the cryptographic and key generation problems in this program. Not doing so is probably going to result in people relying on cryptographic properties it cannot provide.
My suggestion is you delete the codebase until you know what you are doing.
Maybe take a look at a book like https://www.manning.com/books/real-world-cryptography or https://nostarch.com/seriouscrypto
I can encrypt anything and decrypt it by providing a required key with 7zip and a myriad other programs, but the Github pictures suggest to me much more.
[1] https://www.softpedia.com/get/Security/Encrypting/Crypto-Poc...