Java SHA-384 Hash using Apache Commons Codec In this Java tutorial we learn how to calculate the SHA-384 digest in Java application using the DigestUtils class of Apache Commons Codec library.