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..
C program to handle stack using exception handling, Aim: To implement a pr...
Aim: To implement a program to handle stack overflow, underflow and odd number exception using Exception Handling. Code: #include #include #include #define MAX
Ans, A palindrome is a string that reads the same from both the ends. Given...
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
I want youtube down-upload boots, Project Description: Boots capture vid...
Project Description: Boots capture video from your YouTube channel and upload your own video to our channel or the copyright of the videos, bang, 3 parties, automatically delete
Program to calculate gross pay and tax payable, Study the following table u...
Study the following table used to compute the tax payable by employees in certain organization Gross Pay Fewer than Three Three
C program for exchange first & last character, Normal 0 false ...
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Padovanstring, write a program that counts the number of occurances of the ...
write a program that counts the number of occurances of the string in the n-th padovan string p(n)
Poker room auto seat program, Poker Room auto seat program Project Descr...
Poker Room auto seat program Project Description: I want a script for an online poker site. It requires to be scanning all the available tables and when the table meets certa
I need online game dvelopment, Project Description: Online game developm...
Project Description: Online game development Online Live Baccarat Game is needed - client program. - server program(IOCP or ect..). - web program(ASP or PHP or etc..
Describe the theoretical concepts of binary files, Question 1 Explain the ...
Question 1 Explain the concept of constructors and destructors in C++ with programming examples Question 2 Explain the concepts and applications of multiple inheritance and v
Pro, i need to do my home work
i need to do my home work
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.