For my encryption assignment our professor wants specific values for characters rather than the normal ones that textpad or jedit uses (a=97, 2=50, /=47 etc)
I'm not really sure how to even...
Type: Posts; User: Keegan
For my encryption assignment our professor wants specific values for characters rather than the normal ones that textpad or jedit uses (a=97, 2=50, /=47 etc)
I'm not really sure how to even...
Thank you so much, but I just tried it BrewBuck's way of going back to the beginning of the string when I'm done, and it worked. It took a good half hour to figure out how to change the encryption...
Also, if I am going to have to go back to the beginning of the key each time, could you exlpain how to do that?
I assume it would be something similar to
if(key[i] == 0)
{
i = 0
}
I can do that, but it doesn't add one to the next cyphertext, it adds one to that character in the key, so if the cyphertext that was calculated from the letter c in the key "cat" was greater than J,...
Is there any way to repeat the string though, because for the second part of the assignment I'm going to have to change the letter of the key I am on to the next letter of the alphabet if the...
I have an encryption assignment that takes input to create a key and another input to create a message, then taking the values of the key, it adds them to the message in such a way that the message...