code: public static String sha512(final String data) {
          return digest(MessageDigestAlgorithms.SHA_512, data.getBytes(StandardCharsets.UTF_8));
      }
docs: Computes hex encoded SHA512 digest.
  
  @param data data to be hashed
  @return sha-512 hash