J2ME passing string value to bouncy castle BigInteger
- by user326096
I passed a string "654782" to the BigInteger constructor, but when I read the integer back I got a different number.
String modulus_str = "654782";
BigInteger modulus = new BigInteger(modulus_str);
modulus.toString() returns a different value