Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

FileNinja - File/Folder Encrypter

FileNinja

Wrote this for personal use, wanted to encrypt some photos/text documents.
Won't work with very large files right now.

[Image: dc0eebf41a.png]

[Image: efaa5c4408.png]

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.
[Image: narwinsig.gif]
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.

[Image: plancksoft.png]
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
(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.
Жизнь это не те дни, что прошли, а те, что запомнились
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 :)
[Image: hf.png]

Rep for rep!
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.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by MiguelSanchezFeb 1, 2022 08:17 AM 0 161 Feb 1, 2022 08:17 AM
Last Post: MiguelSanchez
[C] by Tr0jandogSep 11, 2019 11:44 AM 0 135 Sep 11, 2019 11:44 AM
Last Post: Tr0jandog
[Python] by DcayyDec 1, 2018 03:37 AM 3 177 Dec 1, 2018 03:37 AM
Last Post: Lycosidae024