Search:

Type: Posts; User: aesguitar

Search: Search took 0.07 seconds.

  1. Re: ArrayIndexOutOfBoundsException problem in decryption algorithm

    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...
  2. Re: ArrayIndexOutOfBoundsException problem in decryption algorithm

    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".
  3. Re: ArrayIndexOutOfBoundsException problem in decryption algorithm

    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...
  4. Re: ArrayIndexOutOfBoundsException problem in decryption algorithm

    Thanks, what about this as a solution:



    if(ind < 0)
    {
    while(ind < 0)
    ind+=max;
    }
  5. ArrayIndexOutOfBoundsException problem in decryption algorithm

    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...
Results 1 to 5 of 5