bioentropy
v1.0.0
Published
BioEntropy: A browser-native, side-channel resistant TRNG based on a Gray-Scott reaction–diffusion simulation.
Maintainers
Readme
BioEntropy
BioEntropy is a browser-native, side–channel resistant true random number generator (TRNG) implemented in TypeScript.
It harvests micro–architectural jitter and amplifies it using a toroidal Gray–Scott reaction–diffusion simulation.
Installation
npm install bioentropyUsage
import { BioEntropy } from "bioentropy";
const rng = new BioEntropy();
await rng.initialize();
// Generate a 32‑byte (256‑bit) key
const key = await rng.generateKey(32);
console.log(key);Note: This package is intended for browser environments with the Web Crypto API (
window.crypto).
