From 747cda56fc8e858014d318d8de349f1de522f2e9 Mon Sep 17 00:00:00 2001 From: larabr <7375870+larabr@users.noreply.github.com> Date: Thu, 27 Jun 2024 15:58:05 +0200 Subject: [PATCH] Drop support for platforms without native BigInts --- README.md | 2 +- src/deps.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7815e82..40345f6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

crystals-kyber-js

-> This fork adds support for legacy browsers without BigInt (e.g. Safari 13 or less), and it implements the ML-KEM changes from the [NIST FIPS-203 (draft)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.ipd.pdf): it exports `MlKem512, 768, 1024` instead of `Kyber512, 768, 1024`.
+> This fork implements the ML-KEM changes from the [NIST FIPS-203 (draft)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.ipd.pdf): it exports `MlKem512, 768, 1024` instead of `Kyber512, 768, 1024`.
This library is published on npm (as `@openpgp/crystals-kyber-js`) but not on deno. We recommend you use the upstream repo. The rest of the README refers to the upstream library. diff --git a/src/deps.ts b/src/deps.ts index 53fae3a..b850273 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -3,4 +3,4 @@ export { sha3_512, shake128, shake256, -} from "npm:@openpgp/noble-hashes@1.3.3/sha3"; +} from "npm:@noble/hashes@1.4.0/sha3";