Customer Service Chat
Get quote & make Payment
plz reply on email@example.com, 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 firstname.lastname@example.org, Assignment Help, Ask Question on plz reply on email@example.com, Get Answer, Expert's Help, plz reply on firstname.lastname@example.org Discussions
Write discussion on plz reply on email@example.com
Your posts are moderated
Write your message here..
How can I fix this to, Write a program consisting of two functions (plus ma...
Write a program consisting of two functions (plus main). The first function should read in a number and then pass this back to main. This value should then be passed into a secon
Flowcharting, how to create a flowchart? can you help me in my assignment a...
how to create a flowchart? can you help me in my assignment about flowcharting ....
Create a stack using arrays, Problem : (a) Stacks can be implemented u...
Problem : (a) Stacks can be implemented using arrays. Write down the following C or C++ function to (i) create a stack (ii) add an element to a stack (push). (b) Expl
Object tracking project, Identify 2 to 3 existing algorithms commonly used ...
Identify 2 to 3 existing algorithms commonly used for object tracking. Algorithms should be in C or written in MATLAB language. Document these algorithms in flowcharts and run thes
Saha, find the minimum total number of shelves
find the minimum total number of shelves
Flow chart, flow chart for prime or not
flow chart for prime or not
Super ASCII String Cost, A string S is said to be "Super ASCII", if it cont...
A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci
PADOVAN STRING, PROGRAM ?????
VS Project, Hi, I want to get rtsp source for windows
Hi, I want to get rtsp source for windows
Padovan string , write a program that counts the number of occurences of th...
write a program that counts the number of occurences of the string in the n-th Padovan string P(n) program in java // aakash , suraj , prem sasi kumar kamaraj college progr
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
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.