Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

12. Let's say you have used the encryption and decryption scripts shown in Section 2.11 through the following calls EncryptForFun.py message.txt output.txt DecryptForFun.py output.txt recover.txt

image text in transcribed
12. Let's say you have used the encryption and decryption scripts shown in Section 2.11 through the following calls EncryptForFun.py message.txt output.txt DecryptForFun.py output.txt recover.txt or the Perl versions of the same, and that, subsequently, you compare the input message file and the output produced by de cryption by calling diff message.txt recover.txt you are likely to see the following message returned by the diff command: Binary files message.txt and recover.txt differ and, yet, if you print out the contents of the two files by cat message.txt cat recover.txt the two files appear to be identical. What do you think is going on? (HINT: Use the 'cat - A' command to output the contents of the two files. Also, instead of calling diff as shown above, try calling 'diff -a' which forces a text only comparison on the two files) 12. Let's say you have used the encryption and decryption scripts shown in Section 2.11 through the following calls EncryptForFun.py message.txt output.txt DecryptForFun.py output.txt recover.txt or the Perl versions of the same, and that, subsequently, you compare the input message file and the output produced by de cryption by calling diff message.txt recover.txt you are likely to see the following message returned by the diff command: Binary files message.txt and recover.txt differ and, yet, if you print out the contents of the two files by cat message.txt cat recover.txt the two files appear to be identical. What do you think is going on? (HINT: Use the 'cat - A' command to output the contents of the two files. Also, instead of calling diff as shown above, try calling 'diff -a' which forces a text only comparison on the two files)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

XML Data Management Native XML And XML Enabled Database Systems

Authors: Akmal Chaudhri, Awais Rashid, Roberto Zicari, John Fuller

1st Edition

0201844524, 978-0201844528

More Books

Students also viewed these Databases questions

Question

2. Describe how technology can impact intercultural interaction.

Answered: 1 week ago