@Test
public void testComputePrf_rfc589vector4() throws Exception {

  HashType hash = HashType.SHA1;
  byte[] ikm = Hex.decode("0b0b0b0b0b0b0b0b0b0b0b");
  byte[] salt = Hex.decode("000102030405060708090a0b0c");
  byte[] info = Hex.decode("f0f1f2f3f4f5f6f7f8f9");
  byte[] expectedResult =
      Hex.decode(
          "085a01ea1b10f36933068b56efa5ad81"
              + "a4f14b822f5b091568a9cdd4f155fda2"
              + "c22e422478d305f3f896");
  HkdfStreamingPrf prf = new HkdfStreamingPrf(hash, ikm, salt);
  InputStream input = prf.computePrf(info);
  byte[] output = new byte[expectedResult.length];
  assertThat(input.read(output)).isEqualTo(expectedResult.length);
  assertThat(output).isEqualTo(expectedResult);
}