# @stablelib/xchacha20poly1305

> XChaCha20-Poly1305 AEAD (draft-irtf-cfrg-xchacha-01)

Latest version **2.0.1** (published 2025-01-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install @stablelib/xchacha20poly1305
pnpm add @stablelib/xchacha20poly1305
yarn add @stablelib/xchacha20poly1305
bun add @stablelib/xchacha20poly1305
```

## Health

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

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

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2025-01-03 |
| First published | 2019-10-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 37.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 220 |
| Maintainers | dchest |

## Links

- npm: https://www.npmjs.com/package/@stablelib/xchacha20poly1305
- Repository: https://github.com/StableLib/stablelib
- Homepage: https://github.com/StableLib/stablelib/tree/master/packages/xchacha20poly1305
- npm.io page: https://npm.io/package/@stablelib/xchacha20poly1305

## Dependencies (5)

- [@stablelib/aead](https://npm.io/package/@stablelib/aead.md) ^2.0.0
- [@stablelib/wipe](https://npm.io/package/@stablelib/wipe.md) ^2.0.1
- [@stablelib/xchacha20](https://npm.io/package/@stablelib/xchacha20.md) ^2.0.1
- [@stablelib/constant-time](https://npm.io/package/@stablelib/constant-time.md) ^2.0.1
- [@stablelib/chacha20poly1305](https://npm.io/package/@stablelib/chacha20poly1305.md) ^2.0.1

## Recent versions

- 2.0.1 (latest) — 2025-01-03
- 2.0.0 — 2024-06-29
- 1.0.1 — 2021-05-21
- 1.0.0 — 2020-01-13
- 0.1.1 — 2019-10-24

## README

StableLib
=========

A stable library of useful TypeScript/JavaScript code.


Principles
----------

* Correctness first, performance later.
* Clear code is better than short.
* Better usability means fewer bugs.
* Typing is good, but not too much.


Documentation
-------------

See https://www.stablelib.com


Usage
-----

Install packages via npm from `@stablelib` namespace, for example:

```
npm install @stablelib/base64
```

[See all packages](https://www.npmjs.com/search?q=%40stablelib).


Support
-------

* Paid support for proprietary projects: write to Dmitry Chestnykh <dmitry@codingrobots.com>.
* Free support for open source projects and bug reports for everyone: [issue tracker](https://github.com/stablelib/stablelib/issues).

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