# @oslojs/crypto

> A very basic crypto library

Latest version **1.0.1** (published 2024-09-21) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @oslojs/crypto
pnpm add @oslojs/crypto
yarn add @oslojs/crypto
bun add @oslojs/crypto
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2024-09-21 |
| First published | 2024-05-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 2 |
| Unpacked size | 71.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 81 |
| Author | pilcrowOnPaper |
| Maintainers | pilcrowonpaper |
| Keywords | auth, crypto, encoding, auth, random, hash, sha, hmac, ecdsa, rsa, sha1, sha2, sha3 |

## Links

- npm: https://www.npmjs.com/package/@oslojs/crypto
- Repository: https://github.com/oslo-project/crypto
- Homepage: https://github.com/oslo-project/crypto#readme
- Issues: https://github.com/oslo-project/crypto/issues
- npm.io page: https://npm.io/package/@oslojs/crypto

## Dependencies (2)

- [@oslojs/asn1](https://npm.io/package/@oslojs/asn1.md) 1.0.0
- [@oslojs/binary](https://npm.io/package/@oslojs/binary.md) 1.0.0

## Alternatives

- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads
- [escher-request](https://npm.io/package/escher-request.md) — 545 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2024-09-21
- 1.0.0 — 2024-09-19
- 0.6.2 — 2024-07-24
- 0.6.1 — 2024-07-24
- 0.6.0 — 2024-07-12
- 0.5.3 — 2024-07-10
- 0.5.2 — 2024-07-08
- 0.5.1 — 2024-07-08
- 0.5.0 — 2024-07-08
- 0.4.1 — 2024-07-05
- 0.4.0 — 2024-07-05
- 0.3.0 — 2024-06-23
- 0.2.1 — 2024-06-21
- 0.2.0 — 2024-05-10
- 0.1.1 — 2024-05-04
- … 1 more at https://npm.io/package/@oslojs/crypto/versions

## README

# @oslojs/crypto documentation

**Documentation: https://crypto.oslojs.dev**

A basic JavaScript crypto library by [Oslo](https://oslojs.dev). Includes APIs for SHA-1, SHA-2, SHA-3, HMAC, ECDSA, RSA, and cryptographically secure random generator.

- Runtime-agnostic
- No third-party dependencies
- Fully typed

Algorithms such as SHA and ECDSA are tested against NIST test vectors.

## Installation

```
npm i @oslojs/crypto
```

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