code: public static String getHash512(String str) {
          try {
              return getHash(str, "SHA-512");
          } catch (NoSuchAlgorithmException e) {
              throw new RuntimeException(e);
          }
      }
docs: Calls {@code getHash(str, "SHA-512")}
  
  @param str
  @return