AbsoluteJS

@absolutejs/e2ee-webcrypto

@absolutejs/e2ee-webcryptov0.2.4betaMessaging

Experimental RFC 9180 HPKE envelope provider for @absolutejs/e2ee using WebCrypto-backed primitives.

#Installation

BASH
bun add @absolutejs/e2ee-webcrypto

#Capabilities

Overview

Experimental RFC 9180 HPKE envelope provider for @absolutejs/e2ee, using the WebCrypto-backed primitives in hpke.

This 0.x package has not been independently audited by AbsoluteJS. It provides isolated single-recipient envelopes, not MLS or a secure messaging protocol.

The initial suite is DHKEM(P-256, HKDF-SHA256), HKDF-SHA256, and AES-128-GCM for broad WebCrypto runtime support. The suite and wire version are explicit and authenticated context is supplied as both HPKE info and AEAD additional data.

Show 1 more

See SECURITY.md for limitations.

Outcomes

What you can build

Build on the supported package contract

Use @absolutejs/e2ee-webcrypto through its supported public entry points.

Hardening checklist

Production guidance

Make every external boundary explicitPin the deployed @absolutejs/e2ee-webcrypto version, replace example or memory-backed dependencies with durable implementations, bound external calls, protect credentials, and emit enough evidence to retry or recover safely.

Follow in order

Troubleshooting path

1
Trace from the first failed boundary
Reproduce the smallest canonical @absolutejs/e2ee-webcrypto example, confirm the supported entry point and version in the API explorer, then inspect the first boundary that did not produce its documented result.

#Public entry points

Supported entry points declared by this package manifest.

Package entry point declared in package.json.

@absolutejs/e2ee-webcrypto@absolutejs/e2ee-webcrypto/provider-manifest@absolutejs/e2ee-webcrypto/certification@absolutejs/e2ee-webcrypto/manifest@absolutejs/e2ee-webcrypto/manifest.json

#Package commands

Scripts declared by this package manifest.

bun run buildrm -rf dist && bun build src/index.ts src/certification.ts src/provider-manifest.ts src/manifest.ts --outdir dist --root src --sourcemap --target=browser --external @absolutejs/e2ee --external '@absolutejs/e2ee/*' --external @absolutejs/manifest --external @sinclair/typebox --external hpke && tsc --project tsconfig.build.json && absolute-manifest emit
bun run check:packagebun run format && bun run typecheck && bun run test && bun run build && bun run verify-package
bun run formatprettier --write "./**/*.{ts,json,md}"
bun run testbun test tests/
bun run typechecktsc --noEmit

#API reference

Search the declarations exported by the current package type files. Expand a symbol to inspect its source-backed signature.

9 symbols
webcryptoProviderCertificationvaluePermalinkSource
TS
const webcryptoProviderCertification: import("@absolutejs/e2ee").E2EECertificationReport;
Exported from @absolutejs/e2ee-webcrypto