### Question:
Base58 { public static BigInteger decodeToBigInteger(String input) throws AddressFormatException { return new BigInteger(1, decode(input)); }  static String encode(byte[] input); static String encodeChecked(int version, byte[] payload); static byte[] decode(String input); static BigInteger decodeToBigInteger(String input); static byte[] decodeChecked(String input); static final char[] ALPHABET; }### Answer:
@Test public void testDecodeToBigInteger() { byte[] input = Base58.decode("129"); assertEquals(new BigInteger(1, input), Base58.decodeToBigInteger("129")); }