SHA-384

The SHA-384 message digest algorithm produces a 384-bit digest. The algorithm is described in FIPS PUB 180-1. Instances of this algorithm cannot be cloned.

To create a SHA-384 message digest for the message “hello world”:

MessageDigest sha384 = MessageDigest.getInstance(“SHA-384”, “SAFENET”);
byte[] digest = sha384.digest(“hello world”.getBytes());