@Test void testHmacsha512256() { HMACSHA512256.Key key = HMACSHA512256.Key.random(); Bytes authenticator = HMACSHA512256.authenticate(Bytes.fromHexString("deadbeef"), key); assertTrue(HMACSHA512256.verify(authenticator, Bytes.fromHexString("deadbeef"), key)); }
private HMACSHA512256() {}
HMACSHA512256 { private HMACSHA512256() {} }
HMACSHA512256 { private HMACSHA512256() {} private  HMACSHA512256(); }
HMACSHA512256 { private HMACSHA512256() {} private  HMACSHA512256(); static Bytes authenticate(Bytes message, Key key); static byte[] authenticate(byte[] message, Key key); static boolean verify(Bytes authenticator, Bytes in, Key key); static boolean verify(byte[] authenticator, byte[] in, Key key); }
HMACSHA512256 { private HMACSHA512256() {} private  HMACSHA512256(); static Bytes authenticate(Bytes message, Key key); static byte[] authenticate(byte[] message, Key key); static boolean verify(Bytes authenticator, Bytes in, Key key); static boolean verify(byte[] authenticator, byte[] in, Key key);  }