ts-mls
Version:
[](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [](https://badge.fury.io/js/ts-mls) [ => {
const roundtrip = createRoundtripTest(encodePskId, decodePskId);
test("roundtrips external", () => {
roundtrip({ psktype: "external", pskId: new Uint8Array([1, 2, 3]), pskNonce: new Uint8Array([4, 5, 6, 7]) });
});
test("roundtrips resumption", () => {
roundtrip({
psktype: "resumption",
usage: "application",
pskGroupId: new Uint8Array([8, 9, 10]),
pskEpoch: 123n,
pskNonce: new Uint8Array([11, 12, 13, 14]),
});
});
});
//# sourceMappingURL=pskId.test.js.map