@openlfcp/crypto
v0.2.2
Published
The cryptography of LFCP (SHA-256, Ed25519, X25519, HKDF, ChaCha20-Poly1305, HPKE) on audited primitives (@noble, hpke).
Maintainers
Readme
@openlfcp/crypto
The cryptography of LFCP on audited primitives: SHA-256, Ed25519 signatures (strict verification), X25519, HKDF, ChaCha20-Poly1305 and HPKE for Key Packages, Resource DEKs and their commitments. It is the only package that uses @noble/* and hpke directly.
npm install @openlfcp/cryptoESM only; Node.js 24 or later (browsers and Electron for every package except @openlfcp/storage-node).
Scope
Part of the OpenLFCP TypeScript SDK, which implements the OpenLFCP MVP 0.1
subset of LFCP-WIRE-01
at mvp-0.1-baseline.9, not every deferred WIRE-01 feature. It does not
claim full LFCP-WIRE-01 conformance. This is the MVP 0.1 release
(0.1.3, npm dist-tag latest). Until 1.0, minor versions may change APIs.
Links
- Specification: openlfcp/spec
- Source and the other SDK packages: openlfcp/sdk-ts
- Issues: openlfcp/sdk-ts/issues
License
Apache-2.0. See LICENSE.
