@Test
public void testHash() {

    byte[] key = TypeUtils.fromHexString("00112233445566778899AABBCCDDEEFF");
    assertEquals(16, key.length);
    // what the client sends
    String clientKey = Base64.getEncoder().encodeToString(key);
    // what the server responds with
    String serverHash = AcceptHash.hashKey(clientKey);
    // how the client validates
    assertEquals("mVL6JKtNRC4tluIaFAW2hhMffgE=", serverHash);
}