Releases: UneBaguette/mldsa.wasm
Releases · UneBaguette/mldsa.wasm
v0.3.4
Immutable
release. Only release title and notes can be modified.
v0.3.3
Immutable
release. Only release title and notes can be modified.
What's changed
- update template to have init declaration type for web (wasm)
Full Changelog: v0.3.2...v0.3.3
v0.3.2
Immutable
release. Only release title and notes can be modified.
What's changed
- update template to include missing
generateKeypairFromSeedfunction andSignerclass for wasm
Full Changelog: v0.3.1...v0.3.2
v0.3.1
Immutable
release. Only release title and notes can be modified.
v0.3.0
Immutable
release. Only release title and notes can be modified.
Breaking changes: raw Uint8Array API for wasm
The entire public API now uses Uint8Array instead of base64url strings. This eliminates unnecessary encoding overhead when all consumers already work with raw bytes.
const { seed, verifyingKey } = generateKeypair(); // both Uint8Array
const kp = generateKeypairFromSeed(seed); // reproduce from seed
const sig = sign(seed, message); // Uint8Array
const ok = verify(verifyingKey, message, sig); // boolean
// Or use the Signer (seed stays in WASM memory, zeroized on drop)
const signer = new Signer(seed);
const sig = signer.sign(message);What changed
- All inputs and outputs are
Uint8Arrayinstead of base64url strings - Added
generateKeypairFromSeed(seed)to reproduce keypairs from existing seeds Signerconstructor takesUint8Arrayseed- Removed
base64dependency - Macro is now self-contained (no shared
GenerateKeypairResultfrom core)
Other
- chore(deps): bump ml-dsa from 0.1.0 to 0.1.1 by @dependabot[bot] in #4
Full Changelog: v0.2.2...v0.3.0
v0.2.2
Immutable
release. Only release title and notes can be modified.
What's Changed
ml-dsa is in stable release now
- chore(deps): bump ml-dsa from 0.1.0-rc.11 to 0.1.0 by @dependabot[bot] in #3
Full Changelog: v0.2.1...v0.2.2
v0.2.1
Immutable
release. Only release title and notes can be modified.
What's Changed
- feat: api changes, no more keygen, using Generate trait. by @UneBaguette
- chore: fixed makefile by @UneBaguette
- ci: update with vars instead of hardcoded version, use trusted publishers by @UneBaguette
- chore(deps): bump ml-dsa from 0.1.0-rc.9 to 0.1.0-rc.11 by @dependabot[bot] in #2
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Immutable
release. Only release title and notes can be modified.
What's Changed
- chore: specify version for workspace internal crates, ci moved wasm tests after cargo publish by @UneBaguette
- fix: remove unnecessary name for npm in makefile by @UneBaguette
- readme: update packages link by @UneBaguette
- readme: move rust section by @UneBaguette
- refactor: use macro rules for all variants and bump version by @UneBaguette
- chore: fix formatting and update README.md and each variant by @UneBaguette
- ci: add permissions for contents in CI workflow by @UneBaguette
- ci: update wasm-opt installation URL in publish.yml by @UneBaguette
- chore(deps): bump ml-dsa from 0.1.0-rc.8 to 0.1.0-rc.9 by @dependabot[bot] in #1
- chore: added notice once tsify into wasm abi gets deprecated by @UneBaguette
- chore: modify readme for each crate and added docs for wasm code by @UneBaguette
New Contributors
- @dependabot[bot] made their first contribution in #1
Full Changelog: v0.1.0...v0.2.0