Skip to content

adhammohamed1/x86-Assembly-Monoalphabetic-Substitution-Encryption-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

x86-Assembly-Monoalphabetic-Substitution-Encryption-System

Monoalphabetic encryption/decryption system written in 8086 assembly language

Table of Contents

Abstract

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.

Functionality

1. This program uses the following table as the reference for character substitution table

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.

Tools

  1. This assembly program was run and tested on the x86 emulator emu8086.
  2. Intel 8086 Assembly Language

Sample Run Using emu8086:

The program lets the user choose whether to enter a string or use the hard-coded one

This is the harcoded string: harcoded-string

Main Menu mainmenu

Entered '2' to use the hard-coded string used-hardcoded

And done! done-hardcoded

Entered 'y' to try again and '1' to input string entering-input

Processing the given string used-input

And done! done

About

Monoalphabetic encryption/decryption system written in 8086 assembly language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published