FileNinja
Wrote this for personal use, wanted to encrypt some photos/text documents.
Won't work with very large files right now.
Source - https://github.com/arcanecfg/FileNinja
Drop suggestions and improvements below, thanks.
- A
For the glory of humanity
Waiting for Ninja reply 🤣
(Feb 20, 2017 12:05 PM)Zilog80 Wrote: Waiting for Ninja reply 🤣
Exactly , lol.
Thanks for the constructive comments.
For the glory of humanity
This is actually pretty good and could be useful at certain points, in my opinion that is.
Good job.
DO NOT DEAL WITH THIS MEMBER
Feb 21, 2017 12:14 PM
(This post was last modified: Feb 21, 2017 12:21 PM by jujuger.)
AES.Mode = CipherMode.ECB;
OP you just dun goofed cryptographically speaking.
Electronic Code Book is a broken Stream Cipher
Blocks of identical text are encrypted identically. (Yes, this is bad extremely bad)
With ECB, the text "chocolate" would always gets encrypted to "sjkskhbqp". So if your plaintext was "I eat chocolate I like chocolate" it would get encrypted to "O pbq sjkafhbqp O hoxp sjkafhbqp"
see the problem?
http://crypto.stackexchange.com/question...encryption
To be blunt, since you are using ECB, OP, your encryption program is completely broken.
Use CTR mode or CBC mode instead of ECB
(Feb 21, 2017 12:14 PM)jujuger Wrote: AES.Mode = CipherMode.ECB;
OP you just dun goofed cryptographically speaking.
Electronic Code Book is a broken Stream Cipher
Blocks of identical text are encrypted identically. (Yes, this is bad extremely bad)
With ECB, the text "chocolate" would always gets encrypted to "sjkskhbqp". So if your plaintext was "I eat chocolate I like chocolate" it would get encrypted to "O pbq sjkafhbqp O hoxp sjkafhbqp"
see the problem?
http://crypto.stackexchange.com/question...encryption
To be blunt, since you are using ECB, OP, your encryption program is completely broken.
Use CTR mode or CBC mode instead of ECB
Thanks for that piece of info.
But I just quickly tested it again and that doesn't seem to be the case. Try it out yourself and let me know?
For the glory of humanity
DO NOT DEAL WITH THIS MEMBER
(Feb 22, 2017 01:48 PM)Decim Wrote: Thanks for that piece of info.
But I just quickly tested it again and that doesn't seem to be the case. Try it out yourself and let me know?
It isn't a problem with code in .NET or C#
it is a problem with security
(Feb 22, 2017 04:06 PM)jujuger Wrote: It isn't a problem with code in .NET or C#
it is a problem with security
I understand what you're saying. But if that's the case, shouldn't encrypting two simple plain text files containing a few identical words with the same key result in their corresponding ciphertexts looking similar? Is that not what makes it semantically insecure?
For the glory of humanity
This program is very useful, I'ved used it and had no problems with it!
Thank you for that Arcane.
Жизнь это не те дни, что прошли, а те, что запомнились
DO NOT DEAL WITH THIS MEMBER
You'll hear from my lawyer soon.
(Jun 4, 2017 10:09 AM)Ninja Wrote: You'll hear from my lawyer soon.
🤣
On the real, great application :)
Nice release,
Its an useful share.
(Jun 4, 2017 10:09 AM)Ninja Wrote: You'll hear from my lawyer soon. Thats a nice one.
|