Search:

Type: Posts; User: Voodoo

Search: Search took 0.09 seconds.

  1. Re: ArrayIndexOutOfBoundsException problem in decryption algorithm

    ...I've copied and tested...it worked fine;)).
  2. Re: ArrayIndexOutOfBoundsException problem in decryption algorithm

    Uh..oh I've copied your Encryptor and surveyed it...have a question


    int[] nums = numValues(toArray(enc));//array getting the exception
    ...
    for(int i = 0; i < enc.length(); i++)

    What happens...
  3. Re: ArrayIndexOutOfBoundsException problem in decryption algorithm

    the ind could be negative even you did ind *= -1;. Try with this:


    int ind = (nums[i] + inc)*chng;//the index in vals[] containing the correct character
    if(ind < 0) ind = math.abs(ind);...
Results 1 to 3 of 3