-
May 18th, 2009, 06:10 PM
#1
Decryption computation help.
I am writing a program and this is what was found wrong with it. This program is suppose to decrypt an encrypted message (char CodedMessage[16] = ":mmZ\\dxZmx]Zpgy). Any help to change this computation would be greatly appreciated.
//**************************
// This is the code to encrypt a message
// You need to change this computation to decrypt an encrypted message
if ((e + key) > 126)
{
d = 32 +((e + key) -127);
}
else
{
d = e + key;
}
//**************************
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|