Monoalphabetic encryption/decryption system written in 8086 assembly language
Encryption can be done in various ways. One of the simplest methods is monoalphabetic cipher. A monoalphabetic cipher is a substitution cipher where each letter of the plain text is replaced with another letter of the alphabet. It uses a fixed key which consist of the 26 letters of a “shuffled alphabet”.
This program implements this method to encrypt/decrypt a string of characters.
1. This program uses the following table as the reference for character substitution
2. The program handles lowercase and uppercase characters
3. This program omits all spaces in the result, however, I've clearly indicated the location of the part that does that in the code with comments so you can remove it at will.
- This assembly program was run and tested on the x86 emulator emu8086.
- Intel 8086 Assembly Language
The program lets the user choose whether to enter a string or use the hard-coded one
Entered '2' to use the hard-coded string