unstale

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

@unstale/cli on npm

@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.

    1.8.1release notes

Performance 1

Behavior and default changes 2

  • Uses WebCrypto for arbitrary-length HKDF salts instead of bundling JavaScript HMAC/SHA-2.

    1.8.1release notes

  • The package uses ArrayBufferLike | ArrayBufferView instead of ArrayBuffer, broadening the accepted buffer types.

    1.7.0release notes