RIPEMD160

The RIPEMD160 message digest algorithm produces a 160-bit digest. Instances of this algorithm cannot be cloned.

To create a RIPEMD160 message digest for the message “hello world”:

MessageDigest rmd160 = MessageDigest.getInstance(“RIPEMD160”,
“SAFENET”);
byte[] digest = rmd160.digest(“hello world”.getBytes());