# @hazae41/ed25519

> Ed25519 for the web

Latest version **3.0.0** (published 2026-06-18) · 0 weekly downloads

## Install

```sh
npm install @hazae41/ed25519
pnpm add @hazae41/ed25519
yarn add @hazae41/ed25519
bun add @hazae41/ed25519
```

## Health

**Score 50/100 (C)** — status: active.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2026-06-18 |
| First published | 2023-03-26 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | hazae41 |
| Maintainers | hazae41 |
| Keywords | typescript, esmodules |

## Links

- npm: https://www.npmjs.com/package/@hazae41/ed25519
- Repository: https://github.com/hazae41/ed25519
- Homepage: https://github.com/hazae41/ed25519#readme
- Issues: https://github.com/hazae41/ed25519/issues
- npm.io page: https://npm.io/package/@hazae41/ed25519

## Dependencies (1)

- [@hazae41/ed25519-wasm](https://npm.io/package/@hazae41/ed25519-wasm.md) ^3.0.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2026-06-18
- 2.1.24 — 2025-05-25
- 2.1.23 — 2025-04-23
- 2.1.22 — 2024-09-06
- 2.1.21 — 2024-09-06
- 2.1.20 — 2024-09-06
- 2.1.19 — 2024-08-31
- 2.1.18 — 2024-08-31
- 2.1.17 — 2024-08-31
- 2.1.16 — 2024-08-31
- 2.1.15 — 2024-08-31
- 2.1.14 — 2024-08-23
- 2.1.13 — 2024-08-23
- 2.1.12 — 2024-08-23
- 2.1.11 — 2024-08-22
- … 17 more at https://npm.io/package/@hazae41/ed25519/versions

## README

# Ed25519

Ed25519 for the web

```bash
npm install @hazae41/ed25519
```

[**NPM 📦**](https://www.npmjs.com/package/@hazae41/ed25519)

## Features

### Current features
- 100% TypeScript and ESM
- No external dependencies

### Why not use WebCrypto
- Safari produces non-deterministic signatures
- Tor browser (Firefox ESR) can't recover public key from private key

## Usage 

```tsx
const key = ed25519.SecretKey.random()
const pub = key.publish()

const msg = Uint8Array.fromHex("deadbeef")
const sig = key.sign(msg)

console.log(pub.verify(msg, sig)) // true
```

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