# What changed in @hpke/dhkem-x25519

> 4 changes in @hpke/dhkem-x25519 1 from its official release notes, upgrade guides and advisories: 1 security. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/@hpke/dhkem-x25519/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @hpke/dhkem-x25519 1

### Security

- 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.1) — [release notes](https://github.com/dajiaji/hpke-js/releases/tag/%40hpke/dhkem-x25519%401.8.1)

### Performance

- Reduces bundle size. (1.8.1) — [release notes](https://github.com/dajiaji/hpke-js/releases/tag/%40hpke/dhkem-x25519%401.8.1)

### Behavior and default changes

- Uses WebCrypto for arbitrary-length HKDF salts instead of bundling JavaScript HMAC/SHA-2. (1.8.1) — [release notes](https://github.com/dajiaji/hpke-js/releases/tag/%40hpke/dhkem-x25519%401.8.1)
- The package uses ArrayBufferLike | ArrayBufferView instead of ArrayBuffer, broadening the accepted buffer types. (1.7.0) — [release notes](https://github.com/dajiaji/hpke-js/releases/tag/%40hpke/dhkem-x25519%401.7.0)
