public static byte [ ] sha384Hash ( String data , Charset charset ) throws NoSuchAlgorithmException { return sha384Hash ( data . getBytes ( charset ) ) ; }
Hashes a string using the SHA - 384 algorithm .