@Test public void testRipeMD160() { final String expected = "c5d570cb5b85319dbafc0385b998fd98eb62295e"; final byte[] bytesToHash = "Hello World.".getBytes(); final byte[] result = Hash.ripemd160(bytesToHash); assertThat(Numeric.toHexStringNoPrefix(result), is(expected)); }
public static String ripemd160(String hexInput) { byte[] bytes = Numeric.hexStringToByteArray(hexInput); byte[] result = ripemd160(bytes); return Numeric.toHexString(result); }
Hash { public static String ripemd160(String hexInput) { byte[] bytes = Numeric.hexStringToByteArray(hexInput); byte[] result = ripemd160(bytes); return Numeric.toHexString(result); } }
Hash { public static String ripemd160(String hexInput) { byte[] bytes = Numeric.hexStringToByteArray(hexInput); byte[] result = ripemd160(bytes); return Numeric.toHexString(result); } private  Hash(); }
Hash { public static String ripemd160(String hexInput) { byte[] bytes = Numeric.hexStringToByteArray(hexInput); byte[] result = ripemd160(bytes); return Numeric.toHexString(result); } private  Hash(); static byte[] sha256AndThenRipemd160(byte[] input); static String ripemd160(String hexInput); static byte[] ripemd160(byte[] input); static String sha3(String hexInput); static byte[] sha3(byte[] input, int offset, int length); static byte[] sha3(byte[] input); static String sha3String(String utf8String); static byte[] sha256(byte[] input); static byte[] sha256(byte[] input, int offset, int length); static byte[] hash256(byte[] input); static byte[] hash256(byte[] input, int offset, int length); }
Hash { public static String ripemd160(String hexInput) { byte[] bytes = Numeric.hexStringToByteArray(hexInput); byte[] result = ripemd160(bytes); return Numeric.toHexString(result); } private  Hash(); static byte[] sha256AndThenRipemd160(byte[] input); static String ripemd160(String hexInput); static byte[] ripemd160(byte[] input); static String sha3(String hexInput); static byte[] sha3(byte[] input, int offset, int length); static byte[] sha3(byte[] input); static String sha3String(String utf8String); static byte[] sha256(byte[] input); static byte[] sha256(byte[] input, int offset, int length); static byte[] hash256(byte[] input); static byte[] hash256(byte[] input, int offset, int length);  }