Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cfware/random-passwd
Generate a cryptographically strong random password string
https://github.com/cfware/random-passwd
Last synced: about 2 months ago
JSON representation
Generate a cryptographically strong random password string
- Host: GitHub
- URL: https://github.com/cfware/random-passwd
- Owner: cfware
- License: mit
- Created: 2019-02-05T01:21:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-01T01:24:34.000Z (over 4 years ago)
- Last Synced: 2024-11-10T04:24:45.487Z (2 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# random-passwd [![NPM Version][npm-image]][npm-url]
Generate a cryptographically strong random password string
## Usage
```sh
random-passwd [random-bytes]
````random-bytes` defaults to 64 if not provided. random-bytes must be a whole number
between 6 and 256 inclusive.Random bytes|Password Length|Bits|Combinations
-|-|-|-
6|8|48|2.8e+14
8|11|64|1.8e+19
16|22|128|3.4e+38
32|43|256|1.2e+77
64|86|512|1.3e+154
128|171|1024|1.8e+308
256|342|2048|3.2e+616If someone knows that you generated a default password with this utility it would
take an average of 6.7e+153 attempts to find your password by brute force (half of
1.3e+154).[npm-image]: https://img.shields.io/npm/v/random-passwd.svg
[npm-url]: https://npmjs.org/package/random-passwd