I am trying to take a string and convert it into a long how ever I keep getting the error mentioned above
public long[] stringToLongDecrypt()
{
long ciphertext[] = new long[elements.length];
for(int i=0; i<ciphertext.length; i++)
{
ciphertext[i] = Long.parseLong(elements[i].trim(), 16);
}
return ciphertext;
}
Any ideas?