public static String hmacSha512Hex(final String key, final String valueToDigest) {
        return getHmacHex(HmacAlgorithms.HMAC_SHA_512, key, valueToDigest);
    }
@Test
    public void testHmacSha512Hex() {
        assertEquals(HmacHexUtils.hmacSha512Hex("testKey", "testValue"),
            "99997ffdee76da2f016fe4ee9256c3361c7dc9f1588be5cabeca9e541f8224db00b10260f4885eaaf29edab66574237058d43f5644b47e0fc13e66b89dbcde68");
    }