Hack Forums
[C#] AES-256 text encrypter/decrypter (supports graphical encryption using JPG/PNG) - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] AES-256 text encrypter/decrypter (supports graphical encryption using JPG/PNG) (/showthread.php?tid=5827483)



AES-256 text encrypter/decrypter (supports graphical encryption using JPG/PNG) - Vikhedgehog - Apr 20, 2018

Hey there,

In the past few days I've been learning about cryptography in C# and wrote a small GUI app for personal needs. Thought I'd share it with you in case somebody got tired of using online encryption/decryption tools. Tried to keep it clean but functional at the same time. I am also looking forward to read your suggestions regarding possible improvements of the code.

Key features:
- Uses stream cipher (CFB), SHA-1 hashing algorithm, 256 bit key size
- Lets you choose the position of IV's
- Support for graphical encryption/decryption by converting the specified pic to base64 and using it as password.

Some pics:

[Image: kZDR8N6.jpg]

[Image: 9TU4jbU.jpg]

Source code:

Spoiler (Click to View)

Download link:
http://www.mediafire.com/file/2e43b7442z3q45e/AESEncrypter.exe

Scan:
https://www.virustotal.com/#/file/d8f5ac9890e9ecd31a71c5c3c5c43222a59ac263a5b03fa2efe78b3f7a87d25f/detection


RE: AES-256 text encrypter/decrypter (supports graphical encryption using JPG/PNG) - Dalvik - Apr 21, 2018

There is a lot of code that can be re-used since the encrypt and decrypt functions are very similar. You can solve the differences using a Func or a parent class with an abstract method. Nevertheless the code is better than most code I see on here, so I am sure some people can learn from it. Thanks for contributing.


RE: AES-256 text encrypter/decrypter (supports graphical encryption using JPG/PNG) - SlowMehMo - May 3, 2018

Oh that is awsome, it has a salt option and everything i probably will be able to use this, whats with all the cool stuff being released right now? feels like there is better releases on here than usual.