Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › [TUT]Basic Encrypter\Decrypter

[TUT]Basic Encrypter\Decrypter

Posts 1–15 of 31 · Page 1 of 3
Bombsaway707
Bombsaway707
[TUT]Basic Encrypter\Decrypter
1. Create a new project
2. Add 2 textboxes. Textbox1 being single lined and textbox2 being multiline
3. Add 2 buttons. Button1 text being encrypt and button2 text being decrypt
4. Go into the coding. Unde public class form 1 put-
Code:
Dim DES AsNew System.Security.Cryptography.TripleDESCryptoServiceProvider
Dim Hash AsNew System.Security.Cryptography.MD5CryptoServiceProvider
5. Under button1(encrypt) click put-
Code:
Try
DES.Key = Hash.ComputeHash(System.Text.ASCIIEncoding.ASCII.GetBytes(TextBox1.Text))
DES.Mode = Security.Cryptography.CipherMode.ECB
Dim DESEncrypter As System.Security.Cryptography.ICryptoTransform = DES.CreateEncryptor
Dim Buffer AsByte() = System.Text.ASCIIEncoding.ASCII.GetBytes(TextBox2.Text)
TextBox2.Text = Convert.ToBase64String(DESEncrypter.TransformFinalBlock(Buffer, 0, Buffer.Length))
Catch ex As Exception
MessageBox.Show("The following error(s) have occurred: " & ex.Message, Me.Text, MessageBoxButtons.OK, MessageBoxIcon.Error)
EndTry
6. Under Button 2(decrypt) put-
Code:
Try
DES.Key = Hash.ComputeHash(System.Text.ASCIIEncoding.ASCII.GetBytes(TextBox1.Text))
DES.Mode = Security.Cryptography.CipherMode.ECB
Dim DESDecrypter As System.Security.Cryptography.ICryptoTransform = DES.CreateDecryptor
Dim Buffer AsByte() = Convert.FromBase64String(TextBox2.Text)
TextBox2.Text = System.Text.ASCIIEncoding.ASCII.GetString(DESDecrypter.TransformFinalBlock(Buffer, 0, Buffer.Length))
Catch ex As Exception
MessageBox.Show("The following error(s) have occurred: " & ex.Message, Me.Text, MessageBoxButtons.OK, MessageBoxIcon.Error)
EndTry
Now how to use this. Textbox1 is like an encryption key. To decrypt a message it must be the same key as used originally Ex:
If you put 1337 in textbox 1 and put Hai! in textbox2 if you put 1336 in textbox1 and try to decrypt textbox2 it will give you an error.
So Textbox1 is the encryption key, and textbox2 is the message to encrypt/encrypted message

For you lazy people heres da full code:
Code:
PublicClass Form1
Dim DES AsNew System.Security.Cryptography.TripleDESCryptoServiceProvider
Dim Hash AsNew System.Security.Cryptography.MD5CryptoServiceProvider
PrivateSub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load
 
EndSub
PrivateSub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Try
DES.Key = Hash.ComputeHash(System.Text.ASCIIEncoding.ASCII.GetBytes(TextBox1.Text))
DES.Mode = Security.Cryptography.CipherMode.ECB
Dim DESDecrypter As System.Security.Cryptography.ICryptoTransform = DES.CreateDecryptor
Dim Buffer AsByte() = Convert.FromBase64String(TextBox2.Text)
TextBox2.Text = System.Text.ASCIIEncoding.ASCII.GetString(DESDecrypter.TransformFinalBlock(Buffer, 0, Buffer.Length))
Catch ex As Exception
MessageBox.Show("The following error(s) have occurred: " & ex.Message, Me.Text, MessageBoxButtons.OK, MessageBoxIcon.Error)
EndTry
EndSub
PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Try
DES.Key = Hash.ComputeHash(System.Text.ASCIIEncoding.ASCII.GetBytes(TextBox1.Text))
DES.Mode = Security.Cryptography.CipherMode.ECB
Dim DESEncrypter As System.Security.Cryptography.ICryptoTransform = DES.CreateEncryptor
Dim Buffer AsByte() = System.Text.ASCIIEncoding.ASCII.GetBytes(TextBox2.Text)
TextBox2.Text = Convert.ToBase64String(DESEncrypter.TransformFinalBlock(Buffer, 0, Buffer.Length))
Catch ex As Exception
MessageBox.Show("The following error(s) have occurred: " & ex.Message, Me.Text, MessageBoxButtons.OK, MessageBoxIcon.Error)
EndTry
EndSub
EndClass
I attached my version of it. Here is the virus scans --> VirusTotal, VirScan
For those of you who think i C&P *cough*hesjan*cough* i dindt look at the attachment its my original encryptor/decryptor made in january of '09. Plus the british kid sounds like hes 11
#1 · edited 16y ago · 16y ago
Lolland
Lolland
That is actually really awesome, did you write that yourself?

If so, bravo.


^That's for you^
#2 · 16y ago
Pixie
Pixie
Seems good, I will try this when I wake up
#3 · 16y ago
Bombsaway707
Bombsaway707
Quote Originally Posted by lolland View Post
That is actually really awesome, did you write that yourself?

If so, bravo.


^That's for you^
Thanks bro haha and yes i wrote it myself
#4 · 16y ago
Lolland
Lolland
You are the best VB coder I've ever seen. You deserve a whole lot more cookies than I gave you
#5 · 16y ago
Bombsaway707
Bombsaway707
Quote Originally Posted by lolland View Post
You are the best VB coder I've ever seen. You deserve a whole lot more cookies than I gave you
Haha thanks But dont doubt yourself, your a pretty good coder to
#6 · 16y ago
Lolland
Lolland
Not as godly as you
#7 · 16y ago
Bombsaway707
Bombsaway707
Quote Originally Posted by lolland View Post
Not as godly as you
haha thanks man btw Did you get it to work?
#8 · 16y ago
XG
XGelite
wow A+ job man.
#9 · 16y ago
Bombsaway707
Bombsaway707
Thanks Bro
#10 · 16y ago
Zoom
Zoom
Quote Originally Posted by bombsaway707 View Post
Thanks bro haha and yes i wrote it myself
I hate when people say they made it when they just copy past and take credits!

#11 · 16y ago
XG
XGelite
Quote Originally Posted by hejsan1 View Post
I hate when people say they made it when they just copy past and take credits!

YouTube - How To Make A Basic Encrypter In Visual Basic 2008
.............................
u sure he C&P?
#12 · edited 16y ago · 16y ago
Zoom
Zoom
Quote Originally Posted by XGelite View Post
.............................
u sure he C&P?
Yeah almost
#13 · 16y ago
Bombsaway707
Bombsaway707
Quote Originally Posted by hejsan1 View Post
Yeah almost
I didnt copy and paste. This is my code i posted it on a VB.net site in january of 2009. this guy mustv'e taken my code and made a video on it. I have had the code on my PC and never thought to release on MPGH. If you dont believe me look at the attachement to my thread. It is the original encryptor/decryptor. It is much more advanced then the one in the video and the one i posted for you guys to make. Also listen to the kid, hes probably 12 years old do u think he could come up with this advanced of code?
#14 · edited 16y ago · 16y ago
LU
Lukas59
yeahh.. looks great
#15 · 16y ago
Posts 1–15 of 31 · Page 1 of 3

Post a Reply

Similar Threads

  • Basic EncryptionBy Calard in General Game Hacking
    0Last post 19y ago
  • [TUT] Basic Cheat Engine tutorial for begginersBy rawr161 in Programming Tutorials
    2Last post 17y ago
  • [TUT] Basic HTMLBy alexrules057 in Web Languages
    21Last post 16y ago
  • [TUT] Basic Skining with photoshopBy No5cope in Combat Arms Mod Tutorials
    36Last post 16y ago
  • [Vid tut] Basic Game HackingBy Matrix_NEO006 in Programming Tutorials
    5Last post 16y ago

Tags for this Thread

#encrypterdecrypter#tut#tutbasic