npm / @hpke/dhkem-x25519
@hpke/dhkem-x25519
What changed in @hpke/dhkem-x25519 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 security1 performance2 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@hpke/dhkem-x25519 14 changes
Security 1
Uses the hardened X25519 Montgomery ladder in @hpke/common, with secret-dependent timing protections and rejection of low-order public keys before the ladder.
Performance 1
Reduces bundle size.
Behavior and default changes 2
Uses WebCrypto for arbitrary-length HKDF salts instead of bundling JavaScript HMAC/SHA-2.
The package uses ArrayBufferLike | ArrayBufferView instead of ArrayBuffer, broadening the accepted buffer types.