sealed-lattice
v0.0.8
Published
A browser-native TypeScript package for sealed-lattice research prototypes, currently shipping a narrow SHA-256 helper while the post-quantum architecture remains intentionally unfrozen.
Maintainers
Readme
sealed-lattice
sealed-lattice is a browser-native TypeScript package for post-quantum voting research prototypes.
The current implementation ships:
- a real
sha256Hexhelper on the safe root package - a typed
UnsupportedRuntimeErrorfor missing Web Crypto support - a hardened repo, docs, testing, and publish workflow around that narrow surface
- a deliberately narrow public surface while the lattice-native architecture is still being proven
This repository is a hardened research prototype. It is not audited production voting software.
Release status
This repository currently tracks the initial public sealed-lattice surface.
The public surface is intentionally narrow while the repo, CI, docs, tests, coverage, and packaging experience are stabilized. Lattice cryptography, threshold flows, transport payloads, proofs, protocol types, and any future subpath structure are still being designed and are not frozen yet.
Installation
pnpm add sealed-latticeRuntime requirements
- Use ESM imports such as
import { sha256Hex } from 'sealed-lattice'. The published package does not expose CommonJSrequire()entry points. - Browsers need
globalThis.crypto.subtleandTextEncoder. - CI validates Chromium, Firefox, and WebKit on desktop, plus Chromium and WebKit in mobile emulation.
- Node requires version
24.14.1or newer withglobalThis.crypto.
Safe quickstart
import { sha256Hex } from "sealed-lattice";
const digest = await sha256Hex("sealed-lattice");
console.log(digest);The root package currently exposes only sha256Hex and UnsupportedRuntimeError.
Public package boundary
sealed-lattice
No additional public subpaths are promised yet. Future capability areas such as runtime helpers, serialization, transport, threshold coordination, proofs, and protocol types remain internal design space until the post-quantum flow and misuse-resistant contracts are stable.
Documentation
- Hosted documentation site: tenemo.github.io/sealed-lattice
- Get started: tenemo.github.io/sealed-lattice/guides/getting-started
- Browser and worker usage: tenemo.github.io/sealed-lattice/guides/browser-and-worker-usage
- Runtime and compatibility: tenemo.github.io/sealed-lattice/guides/runtime-and-compatibility
- Security and non-goals: tenemo.github.io/sealed-lattice/guides/security-and-non-goals
- API reference: tenemo.github.io/sealed-lattice/api
Development
pnpm install
pnpm run lint
pnpm run tsc
pnpm run test
pnpm run buildLicense
This project is licensed under MPL-2.0. See LICENSE.
