No description
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-25 13:00:05 +02:00
.gitignore changed for npm 2026-04-26 13:07:55 +02:00
build.ts changed for npm 2026-04-26 13:07:55 +02:00
dil.test.ts changed for npm 2026-04-26 13:07:55 +02:00
index.ts final for now 2026-02-25 18:27:42 +01:00
package.json changed for npm 2026-04-26 13:07:55 +02:00
README.md fixed readme 2026-07-25 13:00:05 +02:00
utils.ts final for now 2026-02-25 18:27:42 +01:00

dilithium-mini

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-mini

or

npm install dilithium-mini

Audit

Note that this library was not audited by a third party.