# random-crypto-string

> Generates random strings using the 'crypto' module which also makes it async

Latest version **1.0.1** (published 2019-09-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install random-crypto-string
pnpm add random-crypto-string
yarn add random-crypto-string
bun add random-crypto-string
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-09-03 |
| First published | 2014-07-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Matthew Forrester |
| Maintainers | forbesmyster |
| Keywords | random, crypto, string |

## Links

- npm: https://www.npmjs.com/package/random-crypto-string
- Repository: https://github.com/forbesmyester/random-crypto-string
- Issues: https://github.com/forbesmyester/random-crypto-string/issues
- npm.io page: https://npm.io/package/random-crypto-string

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2019-09-03
- 1.0.0 — 2019-09-03
- 0.9.7 — 2016-04-30
- 0.9.6 — 2016-04-24
- 0.9.5 — 2016-03-28
- 0.9.4 — 2015-08-28
- 0.9.3 — 2015-08-28
- 0.9.2 — 2015-08-28
- 0.9.1 — 2015-08-28
- 0.9.0 — 2014-07-05

## README

# random-crypto-string

There are a lot of node packages for generating random strings, most do so synchronously and a few might return you a random set of ints. This will return you real random strings of whatever length you wish asynchronously.

## Usage

```javascript
var randomCryptoString = require('random-crypto-string');
randomCryptoString(
    64,
    function(err, randomString) {
        console.log(randomString);
    }
);
```

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