I actually made it up myself. It's a simple-substitution. I added an algorithmic "pattern-breaker" do break up same letters and such. The decryption worked perfectly until I added the breaker, which...
Type: Posts; User: aesguitar
I actually made it up myself. It's a simple-substitution. I added an algorithmic "pattern-breaker" do break up same letters and such. The decryption worked perfectly until I added the breaker, which...
Alright, but it's supposed to decrypt the encrypted phrase. Basically, in this case, change "x> jnb<wMF" back into Mississippi. It printed "Decrypted: 1". It should say "Decrypted: Mississippi".
In that case, it couldn't be negative.
if(ind < 0) //ind has to be negative to return true
ind *= -1; //will only use this line if the if statement returns true meaning ind has to be...
Thanks, what about this as a solution:
if(ind < 0)
{
while(ind < 0)
ind+=max;
}
I don't need a lesson in what the exception is, I know what it is. What I don't know is why I'm getting it. The encryption algorithm uses a similar line, but the call from the array is exactly the...