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..
Simple object-oriented program, This assignment is to be undertaken individ...
This assignment is to be undertaken individually - no group work is permitted. Background information This assignment is an exercise in simple object-oriented programming and, acco
Develop banking software and payment gateway system, Project Description: ...
Project Description: 1) Develop banking software 2) Payment Gateway System There is some other system available for development. I'm willing to show long-term opportunity
I need cryengine sandbox speedometer and tachometer, I need Cryengine Sandb...
I need Cryengine Sandbox Speedometer and Tachometer We want to get working Tachometer and Speedometer for a car in latest Cryengine Sandbox. You will find how to make it usin
Algorithm, write a pseudo code for computing sin(x) using sentinel control ...
write a pseudo code for computing sin(x) using sentinel control loop
What is structure, What is Structure? An Array is a data structure who...
What is Structure? An Array is a data structure whose elements are all of the similar data type. The structure is a data structure whose individual elements are able to differ
Recursive function, Binomial coefficients are the numeric factors of the pr...
Binomial coefficients are the numeric factors of the products in a power of a binomial such as (x + y)n. For example, (x + y)2 = x2 + 2 x y + y2 has the coefficients 1 2 1. Binomia
Pebble merchant, there is a pebble merchant. he sells the pebbles,that are ...
there is a pebble merchant. he sells the pebbles,that are used for shining the floor.his main duty is to take the length of the room side but he sometines mistakes doing that and m
Minimum shelf, how to find minimum number if shelves required
how to find minimum number if shelves required
Develop diablo 2 lod 1.13d dupe method for closed battle.net, Develop Diabl...
Develop Diablo 2 LOD 1.13d Dupe Method for Closed Battle.net This hack is for diablo 2 lord of destruction The program must work on all realms, all cores, all ladders (4x rea
Compiler designin liliting instruction, Ravi is a newbie to the programming...
Ravi is a newbie to the programming and while learning the programming language he came to know the following rules:
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
Terms & Conditions
Copyright by ExpertsMind IT Educational Pvt. Ltd.