Java SHA-512/224 Hash using Apache Commons Codec In this Java tutorial we learn how to calculate the SHA-512/224 hash in Java 9 or higher using the DigestUtils class of Apache Commons Codec library.