The XOR instruction has an interesting property. If an integer A is XORed with B and the resulting value is XORed with B again, the value produced is A: ((A+B) + B) = A This reversible property of XOR provides an easy way to perform a simple form of data encryption: A plain text message is transformed into an encrypted string called cipher text by XORing each of its characters with a character from a third-string called a key. The intended viewer can use the key to decrypt the cipher text and produce the original plain text. In this project, we'll create a simple encryption and decryption program using XOR (exclusive OR) in x86 assembly language using MASM on Microsoft Visual Studio. This encryption technique you are supposed to input a key consisting of multiple characters. Use this key to encrypt and decrypt the plaintext by XORing each character of the key against a corresponding byte in the message. Repeat the key as many times as necessary until all plain text bytes are translated. For example, if the key is "ABXmv#7". The Plain text is: "This is a plain Text Message" This is how the key would align with the plain text bytes: Plain text This is a Plaintext Key ABXmv#7ABXmv message (etc.) ABXmv#7A8Xmv (The key repeats until it equals the length of the plain text...) What Will You Do in This Program? 1- You will input a message from the keyboard 2- Input a Key from the keyboard 3- Display the message after Encryption 4 Display the message after decryption 5- Never use any stack operation 6- Use as much as different addressing modes 7- Comment the lines of your code 8- Use the Microsoft visual studio with Irvine32 library.
The XOR instruction has an interesting property. If an integer A is XORed with B and the resulting value is XORed with B again, the value produced is A: ((A+B) + B) = A This reversible property of XOR provides an easy way to perform a simple form of data encryption: A plain text message is transformed into an encrypted string called cipher text by XORing each of its characters with a character from a third-string called a key. The intended viewer can use the key to decrypt the cipher text and produce the original plain text. In this project, we'll create a simple encryption and decryption program using XOR (exclusive OR) in x86 assembly language using MASM on Microsoft Visual Studio. This encryption technique you are supposed to input a key consisting of multiple characters. Use this key to encrypt and decrypt the plaintext by XORing each character of the key against a corresponding byte in the message. Repeat the key as many times as necessary until all plain text bytes are translated. For example, if the key is "ABXmv#7". The Plain text is: "This is a plain Text Message" This is how the key would align with the plain text bytes: Plain text This is a Plaintext Key ABXmv#7ABXmv message (etc.) ABXmv#7A8Xmv (The key repeats until it equals the length of the plain text...) What Will You Do in This Program? 1- You will input a message from the keyboard 2- Input a Key from the keyboard 3- Display the message after Encryption 4 Display the message after decryption 5- Never use any stack operation 6- Use as much as different addressing modes 7- Comment the lines of your code 8- Use the Microsoft visual studio with Irvine32 library.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question

Transcribed Image Text:The XOR instruction has an interesting property. If an integer A is XORed with B and the resulting
value is XORed with B again, the value produced is A:
((A+B) + B) = A
This reversible property of XOR provides an easy way to perform a simple form of data encryption:
A plain text message is transformed into an encrypted string called cipher text by XORing each of
its characters with a character from a third-string called a key. The intended viewer can use the
key to decrypt the cipher text and produce the original plain text.
In this project, we'll create a simple encryption and decryption program using XOR (exclusive
OR) in x86 assembly language using MASM on Microsoft Visual Studio.
This encryption technique you are supposed to input a key consisting of multiple characters.
Use this key to encrypt and decrypt the plaintext by XORing each character of the key against a
corresponding byte in the message. Repeat the key as many times as necessary until all plain
text bytes are translated.
For example, if the key is "ABXmv#7".
The Plain text is: "This is a plain Text Message"
This is how the key would align with the plain text bytes:
Plain text This is a Plaintext
Key ABXmv#7ABXmv
message (etc.)
ABXmv#7A8Xmv
(The key repeats until it equals the length of the plain text...)
What Will You Do in This Program?
1- You will input a message from the keyboard
2- Input a Key from the keyboard
3- Display the message after Encryption
4 Display the message after decryption
5- Never use any stack operation
6- Use as much as different addressing modes
7- Comment the lines of your code
8- Use the Microsoft visual studio with Irvine32 library.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY