Skip to content

Commit 028ddc0

Browse files
committed
Release 0.5.0.
1 parent 4e86935 commit 028ddc0

File tree

7 files changed

+143
-134
lines changed

7 files changed

+143
-134
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ import {
7171
- [ML-KEM / Kyber](#ml-kem--kyber-shared-secrets)
7272
- [ML-DSA / Dilithium](#ml-dsa--dilithium-signatures)
7373
- [SLH-DSA / SPHINCS+](#slh-dsa--sphincs-signatures)
74+
- [Hybrids: XWing, KitchenSink and others](#hybrids-xwing-kitchensink-and-others)
7475
- [What should I use?](#what-should-i-use)
7576
- [Security](#security)
7677
- [Speed](#speed)

jsr.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
{
22
"name": "@noble/post-quantum",
3-
"version": "0.4.1",
3+
"version": "0.5.0",
44
"exports": {
55
".": "./src/index.ts",
6-
"./_crystals": "./src/_crystals.ts",
7-
"./ml-dsa": "./src/ml-dsa.ts",
8-
"./ml-kem": "./src/ml-kem.ts",
9-
"./slh-dsa": "./src/slh-dsa.ts",
10-
"./utils": "./src/utils.ts",
116
"./_crystals.js": "./src/_crystals.ts",
7+
"./hybrid.js": "./src/hybrid.ts",
128
"./ml-dsa.js": "./src/ml-dsa.ts",
139
"./ml-kem.js": "./src/ml-kem.ts",
1410
"./slh-dsa.js": "./src/slh-dsa.ts",
1511
"./utils.js": "./src/utils.ts"
1612
},
1713
"imports": {
18-
"@noble/curves": "jsr:@noble/curves@1.9.1",
19-
"@noble/hashes": "jsr:@noble/hashes@1.8.0"
14+
"@noble/curves": "jsr:@noble/curves@~2.0.0-beta.3",
15+
"@noble/hashes": "jsr:@noble/hashes@~2.0.0-beta.5"
2016
},
2117
"publish": {
2218
"include": [

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
"*.js.map",
88
"*.d.ts",
99
"*.d.ts.map",
10-
"esm",
1110
"src"
1211
],
1312
"dependencies": {
14-
"@noble/curves": "2.0.0-beta.3",
15-
"@noble/hashes": "2.0.0-beta.5"
13+
"@noble/curves": "~2.0.0-beta.3",
14+
"@noble/hashes": "~2.0.0-beta.5"
1615
},
1716
"devDependencies": {
1817
"@paulmillr/jsbt": "0.4.3",
@@ -47,6 +46,8 @@
4746
"fips203",
4847
"fips204",
4948
"fips205",
49+
"xwing",
50+
"kitchensink",
5051
"pqc",
5152
"post-quantum",
5253
"public-key",

test/build/input.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
export { ml_kem512, ml_kem768, ml_kem1024 } from '@noble/post-quantum/ml-kem';
2-
export { ml_dsa44, ml_dsa65, ml_dsa87 } from '@noble/post-quantum/ml-dsa';
1+
export { ml_dsa44, ml_dsa65, ml_dsa87 } from '../../src/ml-dsa.js';
2+
export { ml_kem1024, ml_kem512, ml_kem768 } from '../../src/ml-kem.js';
33
export {
4-
slh_dsa_shake_128f, slh_dsa_shake_128s,
5-
slh_dsa_shake_192f, slh_dsa_shake_192s,
6-
slh_dsa_shake_256f, slh_dsa_shake_256s,
74
slh_dsa_sha2_128f, slh_dsa_sha2_128s,
85
slh_dsa_sha2_192f, slh_dsa_sha2_192s,
9-
slh_dsa_sha2_256f, slh_dsa_sha2_256s,
10-
} from '@noble/post-quantum/slh-dsa';
6+
slh_dsa_sha2_256f, slh_dsa_sha2_256s, slh_dsa_shake_128f, slh_dsa_shake_128s,
7+
slh_dsa_shake_192f, slh_dsa_shake_192s,
8+
slh_dsa_shake_256f, slh_dsa_shake_256s
9+
} from '../../src/slh-dsa.js';

0 commit comments

Comments
 (0)