[Tutorial] Encryption & Decryption

Part 1: Static Encryption Hello everyone. While I find encryption to be sort of halfway-exciting, Some of you may not. If you don’t like learning, coding, and are bored to tears by encryption, stop reading now. If you are reading this, continue on. ~~

What is cryptography?
Cryptography (or cryptology; from Greek κρυπτός, kryptos, “hidden, secret”; and γράφω, gráphō, “I write”, or -λογία, -logia, respectively) is the practice and study of hiding information. Modern cryptography intersects the disciplines of mathematics, computer science, and engineering. Applications of cryptography include ATM cards, computer passwords, and electronic commerce. (c) Wikipedia


  • Microsoft Visual Basic .NET
  • Brain.exe

1. Open Visual Studio and click ‘Create new project’, then choose “Windows Forms Application”
2. You’ll need a textbox(multiline) for the input of code to be encrypted or decrypted.
3. Now add two buttons then name  “Encrypt”, and  “Decrypt”
4. Now, here’s the code for it. (You can create your own random method). For the encrypt button, this is for the function code.

There’s already an explanation for every code.

5. The main point here if you didn’t notice, capital vowels don’t get encrypted. But there are solution for this.
5.1 Manually go through and add the uppercase letter in the replace lists; or
5.2 Use the ToLower command to change all the text into lowercase before encrypting it.

6. Then let’s proceed on the decrypting function.

7. Paste the code on the buttons function. As you can see, the decrypt code is just the reverse of encrypting process.
8. Debug, Build and Publish. You can create your own way of encrypting codes.

Had some revision from the original poster of that tutorial so credit goes to him.

You can download here the solution of this project:

Download [MediaFire]

Published by Grey Uzuo

Simple cyber surfer sharing random things with credits.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

<span>%d</span> bloggers like this: