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

@param str
@return