Argyle-Software / dilithium

A post-quantum cryptographic signature scheme
Apache License 2.0
66 stars 23 forks source link

WASM #1

Closed mberry closed 1 year ago

mberry commented 1 year ago

Add a wasm api and package for publishing to npm

Axel07l commented 1 year ago

Hi, I add the wasm support for Dilithium. Can you give me some feedback. I didn't publish to npm.

Dilithium

Thanks

mberry commented 1 year ago

Looks good, not seeing any errors. I'll run it through the test vectors tomorrow, feel free to submit a PR.

Perhaps also put a wasm section in readme and add wasm to the features table? eg.

Wasm

[How to build with wasm-pack ] wasm-pack build -- --features wasm

[Basic usage in js] ...

mberry commented 1 year ago

Closed with #12