Skip to content

Releases: paulmillr/noble-post-quantum

0.5.4

22 Dec 13:31
Immutable release. Only release title and notes can be modified.
0.5.4
099503b

Choose a tag to compare

  • Fix ecdhKem.encapsulate default rand length by @FiloSottile in #35
  • Rename hybrid.js submodule exports to align with other modules. Old names are still available until v0.6. New usage:
import {
  ml_kem768_x25519, ml_kem768_p256, ml_kem1024_p384,
  KitchenSink_ml_kem768_x25519, XWing,
  QSF_ml_kem768_p256, QSF_ml_kem1024_p384,
} from '@noble/post-quantum/hybrid.js';

New Contributors

Full Changelog: 0.5.3...0.5.4

0.5.3

21 Dec 18:52
Immutable release. Only release title and notes can be modified.
0.5.3
36c58b6

Choose a tag to compare

Implement irtf-cfrg-concrete-hybrid-kems-02.

Contributed by @panva in #34

import { MLKEM768X25519, MLKEM768P256, MLKEM1024P384 } from '@noble/post-quantum/hybrid.js';

New Contributors

Full Changelog: 0.5.2...0.5.3

0.5.2

22 Sep 15:59
Immutable release. Only release title and notes can be modified.
0.5.2
a095660

Choose a tag to compare

  • Disable extension-less imports. If you've used /ml-dsa, switch to /ml-dsa.js now. See 0.5.0 for more details.
  • package.json: specify exported submodules to ensure typescript autocompletion

GitHub Immutable Releases

This GH release does not standalone noble-post-quantum.js, until we fix bugs related to newly added GitHub Immutable Releases

Full Changelog: 0.5.1...0.5.2

0.5.1

25 Aug 15:36
0.5.1
9380901

Choose a tag to compare

  • Use stable noble-hashes and noble-curves v2

Full Changelog: 0.5.0...0.5.1

0.5.0

19 Aug 10:21
0.5.0
028ddc0

Choose a tag to compare

New features

  • Add hybrid PQ algorithms: XWing, KitchenSinkMLKEM768X25519, QSFMLKEM768P256, QSFMLKEM1024P384
  • Add context to ML-DSA & SLH-DSA
  • Add getPublicKey to ML-KEM & ML-DSA

Changes

  • The package is now ESM-only. ESM can finally be loaded from common.js on node v20.19+
    • Node v20.19 is now the minimum required version
    • Reduces unpacked npm size (on-disk space): 423KB => 312KB
  • .js extension must be used for all modules
    • Old: @noble/post-quantum/slh-dsa
    • New: @noble/post-quantum/slh-dsa.js
    • This simplifies working in browsers natively without transpilers
  • Changed argument order in all methods to be consistent with noble-curves
    • sign(secretKey, msg, rnd) => sign(msg, secretKey, opts)
    • verify(publicKey, msg, sig, ctx) => verify(sig, msg, publicKey, opts)
  • Use noble-hashes v2 with smaller package size and improved security
  • New prehash API
  • Upgrade typescript compilation env to ts5.9 and es2022

Full Changelog: 0.4.1...0.5.0

0.4.1

24 Apr 17:00
0.4.1
17834f5

Choose a tag to compare

  • Modules are now available with .js extension
    • Old: @noble/post-quantum/slh-dsa
    • New: @noble/post-quantum/slh-dsa.js
    • Old path is still available
    • This simplifies working in browsers natively without transpilers
  • slh-dsa: zeroize keygen inputs when argument was undefined
  • update noble-hashes to 1.8.0
  • Typescript source can now be used without compilation in node.js v24, due to erasableSyntaxOnly

New Contributors

  • @panva made their first contribution in #20

Full Changelog: 0.4.0...0.4.1

0.4.0

06 Feb 11:16
0.4.0
f75c954

Choose a tag to compare

  • Export both external and internal prehashed, versions of algorithms
  • Reuse noble-hashes polyfill for setBigUint64

Full Changelog: 0.3.1...0.4.0

0.3.1

18 Jan 09:41
0.3.1
1f84299

Choose a tag to compare

  • Use typescript verbatimModuleSyntax to support future node.js type stripping
  • Update noble-hashes to 1.7.1
  • Improve docs

Full Changelog: 0.3.0...0.3.1

0.3.0

03 Jan 01:34
0.3.0
ead1272

Choose a tag to compare

  • The package is now available on JSR.
  • Use isolatedDeclarations typescript option, which massively simplifies documentation auto-gen, and more
    • Check out JSR page for one example
  • Add tons of comments everywhere to improve autocompletion, LLM code gen, and basic code understanding.
  • Upgrade hashes to v1.7.0

Full Changelog: 0.2.1...0.3.0

0.2.1

23 Nov 08:16
0.2.1
01c7c5f

Choose a tag to compare

  • Expose context-based methods from ML-DSA
  • Upgrade noble-hashes to v1.6.0

Full Changelog: 0.2.0...0.2.1