# @transmute/x25519-key-pair

> ``` npm i @transmute/x25519-key-pair@latest --save ```

Latest version **0.7.0-unstable.82** (published 2023-12-06) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @transmute/x25519-key-pair
pnpm add @transmute/x25519-key-pair
yarn add @transmute/x25519-key-pair
bun add @transmute/x25519-key-pair
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.0-unstable.82 |
| Published | 2023-12-06 |
| First published | 2021-05-09 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16 |
| Dependencies | 2 |
| Unpacked size | 328 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 55 |
| Author | Orie Steele |
| Maintainers | ipbyrne, or13, transmute-ci |

## Links

- npm: https://www.npmjs.com/package/@transmute/x25519-key-pair
- Repository: https://github.com/transmute-industries/verifiable-data
- Homepage: https://github.com/transmute-industries/verifiable-data/tree/main/packages/x25519-key-pair
- Issues: https://github.com/transmute-industries/verifiable-data/issues
- npm.io page: https://npm.io/package/@transmute/x25519-key-pair

## Dependencies (2)

- [@stablelib/x25519](https://npm.io/package/@stablelib/x25519.md) ^1.0.0
- [@transmute/ld-key-pair](https://npm.io/package/@transmute/ld-key-pair.md) ^0.7.0-unstable.82

## Recent versions

- 0.7.0-unstable.82 (latest) — 2023-12-06
- 0.7.0-unstable.81 — 2023-06-10
- 0.7.0-unstable.80 — 2023-01-24
- 0.7.0-unstable.79 — 2023-01-17
- 0.7.0-unstable.78 — 2023-01-17
- 0.7.0-unstable.77 — 2022-12-16
- 0.7.0-unstable.76 — 2022-12-13
- 0.7.0-unstable.75 — 2022-12-09
- 0.7.0-unstable.74 — 2022-12-09
- 0.7.0-unstable.73 — 2022-12-06
- 0.7.0-unstable.72 — 2022-12-06
- 0.7.0-unstable.71 — 2022-11-28
- 0.7.0-unstable.70 — 2022-10-31
- 0.7.0-unstable.69 — 2022-10-31
- 0.7.0-unstable.68 — 2022-10-29
- … 75 more at https://npm.io/package/@transmute/x25519-key-pair/versions

## README

### @transmute/x25519-key-pair

```
npm i @transmute/x25519-key-pair@latest --save
```

```ts
import { X25519KeyPair } from '@transmute/x25519-key-pair';
const k = await X25519KeyPair.generate({
  secureRandom: () => {
    return Buffer.from(
      '4e61bc1918ea6a47ae3307331be7798196a1a8e7cfe4b6e8f7c9a5f36017d929',
      'hex'
    );
  },
});
const s = await k.deriveSecret({
  publicKey: await k.export({ type: 'JsonWebKey2020', privateKey: false }),
});
```

---
_Source: https://npm.io/package/@transmute/x25519-key-pair · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
