private static HybridTestVector createTestVector7() throws GeneralSecurityException {
    HpkeParameters params =
        HpkeParameters.builder()
            .setVariant(HpkeParameters.Variant.NO_PREFIX)
            .setKemId(HpkeParameters.KemId.DHKEM_P256_HKDF_SHA256)
            .setKdfId(HpkeParameters.KdfId.HKDF_SHA256)
            .setAeadId(HpkeParameters.AeadId.CHACHA20_POLY1305)
            .build();
    HpkePublicKey publicKey =
        HpkePublicKey.create(params, getP256PublicPointAsBytes(), /* idRequirement= */ null);

    HpkePrivateKey privateKey = HpkePrivateKey.create(publicKey, getPrivateP256Value());

    return new HybridTestVector(
        privateKey,
        new byte[] {0x01},
        new byte[] {0x02},
        Hex.decode(
            "04e0f41a312164058e2c36f1bc977e12a6fec8b13dc5fabc2441ec905bc432145a0a5e50929815ec6944a3"
                + "da1a186c0b9b428232086b218af061e9f814d8bd27808bce0bdb3c656d307f87ffe3bf13b0eb"
                + "19"));
  }
Test vectors for HPKE. Generated by hand from the implementation here.
java_src/src/main/java/com/google/crypto/tink/hybrid/internal/testing/HpkeTestUtil.java