dilithium-mini
v1.0.0
Published
A lightweight dilithium library
Maintainers
Readme
Dilithium
This is a minimalistic dilithium package (FIPS204)
Performance
The performance is a bit off what @noble/post-quantum shows with Bun (about 10%),
much slower with nodejs.
Usage
dilithium usage example using dil_87:
import { dil_87 } from "kyber-mini"
// generates the keys
const keys = dil_87.keyGen();
// creates the signature for the message
const sig = dil_87.sign(keys.privateKey, message);
// verifies whether the signature is valid
if (verify(publicKey, message, sig)) ...Instalation
bun install dilithium-minior
npm install dilithium-miniAudit
Note that this library was not audited by a third party.
