Skip to content

Commit

Permalink
Fix sample for X-Wing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Nov 4, 2024
1 parent e873144 commit d572935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/hybridkem-x-wing/samples/node/app.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Aes256Gcm, CipherSuite, HkdfSha256 } from "@hpke/core";
import { XWing } from "@hpke/x-wing";
import { HybridkemXWing } from "@hpke/hybridkem-x-wing";

async function doHpke() {
const suite = new CipherSuite({
kem: new XWing(),
kem: new HybridkemXWing(),
kdf: new HkdfSha256(),
aead: new Aes256Gcm(),
});
Expand Down
2 changes: 1 addition & 1 deletion packages/hybridkem-x-wing/samples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"dependencies": {
"@hpke/core": "^1.5.0",
"@hpke/hybridkem-x-wing": "^0.1.0"
"@hpke/hybridkem-x-wing": "^0.2.0"
}
}

0 comments on commit d572935

Please sign in to comment.