# pseudorandombytes

> pseudoRandomBytes ===

Latest version **2.0.0** (published 2015-10-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install pseudorandombytes
pnpm add pseudorandombytes
yarn add pseudorandombytes
bun add pseudorandombytes
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2015-10-07 |
| First published | 2015-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | cwmma |

## Links

- npm: https://www.npmjs.com/package/pseudorandombytes
- Repository: https://github.com/crypto-browserify/pseudorandombytes
- Homepage: https://github.com/crypto-browserify/pseudorandombytes#readme
- Issues: https://github.com/crypto-browserify/pseudorandombytes/issues
- npm.io page: https://npm.io/package/pseudorandombytes

## Dependencies (3)

- [create-hash](https://npm.io/package/create-hash.md) ^1.1.2
- [create-hmac](https://npm.io/package/create-hmac.md) ^1.1.4
- [randombytes](https://npm.io/package/randombytes.md) ^2.0.0

## Recent versions

- 2.0.0 (latest) — 2015-10-07
- 1.0.0 — 2015-01-19

## README

pseudoRandomBytes
===

crypto.pseudoRandomBytes but for use with browserify.  In node it just returns crypto.pseudoRandomBytes but in the browser it uses  [crypto-browserify/randombytes](https://github.com/crypto-browserify/randombytes) if available else it seeds a prng based on [chacha20poly1305](https://github.com/calvinmetcalf/chacha20poly1305).

To use:
====

```js
var pseudoRandomBytes = require('pseudorandomBbytes');

var bytes = pseudoRandomBytes(34);
```

To be clear there is no legitimate reason for you ever to want to use this.

# The algorithms used in this module are **NOT** suitable for cryptographical usage.

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