Customer Service Chat
Get quote & make Payment
plz reply on firstname.lastname@example.org, C/C++ Programming
You are to implement a code cracking system. The system will deploy four processes (p1,p2,p3 & p4) to try to guess the password of an encrypted code.
For encryption, we consider that the formula is: C = P XOR K, where
• C = encrypted code
• P = plain text
• K = key
For decryption the formula is: P = C XOR K. So, your program will try to find K using this formula. The XOR operator is ^.
Given an encrypted code C and plain code P your program should deploy three processes to try and find the key used to encrypt the plain code. These three processes will be under the control of process P1.
All processes will send their results to process P1 and process P1 will terminate the three processes and display the encryption key and decrypted text once any of the three processes finds the key.
For simplicity we will consider that we have the original number P stored in a file called plain.txt and the encrypted code is stored in a file called cipher.txt. Consider that only numbers are stored in these files and they have a range between 0 and 100000000.
So we have P and C your program should find the key K. Consider that K is a positive number between 0 and 1000000.
Posted Date: 12/23/2012 8:28:36 AM | Location : Lebanon
Ask an Expert
plz reply on email@example.com, Assignment Help, Ask Question on plz reply on firstname.lastname@example.org, Get Answer, Expert's Help, plz reply on email@example.com Discussions
Write discussion on plz reply on firstname.lastname@example.org
Your posts are moderated
Write your message here..
Program that implements a digital clock, Write C code for a program that im...
Write C code for a program that implements a digital clock (HH:MM:SS). The clock includes a two-digit hour indicator HH (00-23), a two-digit minute indicator MM (00-59), and a t
How do i allocate multidimensional arrays by new? , Can I free() pointers a...
Can I free() pointers allocated along with new? Can I delete pointers allocated along with malloc()? A: No. It is completely legal, moral, and wholesome to employ malloc() a
Working of ordered linked list, Working Ordered linked list: • Eachint...
Working Ordered linked list: • Eachinteger in the queue is stored inside of a QueueItem. The QueueItem contains the integer, and a pointer to the next item in the queue. Fo
Introduction of c, Discuss the saleint featuresand application of c
Discuss the saleint featuresand application of c
Get reverse engineer to linux game routine analysis, Get Reverse Engineer t...
Get Reverse Engineer to Linux game routine analysis Project Description: I want a fast and efficient reverse engineer with good knowledge of assembly x86 language, strong rev
Set text in graphcs, how to set text in computer graphcs
how to set text in computer graphcs
Program for swapping the two integers, Program for Swapping the Two Integer...
Program for Swapping the Two Integers For example, Swapping the two value int x=4,y=6,t; t
Notion of encapsulation, The purpose of this assignment is to familiarize y...
The purpose of this assignment is to familiarize you with the notion of encapsulation as well as some aspects of IP and ICMP. Write your programs in C or C++. They will be grade
Reading from a Hash table in C, I''m having trouble with my C code to red f...
I''m having trouble with my C code to red from a Hash table. Not sure what it is I''m doing wrong and stumped. I need to get it figured out by tomorrow at 4:00 p.m. Eastern time. C
Define the category of function - computer programming, Define the Category...
Define the Category of Function? A function, depending on whether arguments or parameters are present or not and whether a value returned or not, may belong to one of the foll
Accounting Assignment Help
Economics Assignment Help
Finance Assignment Help
Statistics Assignment Help
Physics Assignment Help
Chemistry Assignment Help
Math Assignment Help
Biology Assignment Help
English Assignment Help
Management Assignment Help
Engineering Assignment Help
Programming Assignment Help
Computer Science Assignment Help
IT Courses and Help
Why Us ?
~24x7 hrs Support
~Quality of Work
~Time on Delivery
~Privacy of Work
Human Resource Management
Literature Review Writing Help
Follow Us |
T & C
Copyright by ExpertsMind IT Educational Pvt. Ltd.