Socket
Book a DemoInstallSign in
Socket

couch-hash-pwd

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

couch-hash-pwd

Hash CouchDB passwords

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

couch-hash-pwd

Circle CI Greenkeeper badge

Hash CouchDB passwords

Installation

$ npm install -g couch-hash-pwd

Usage

Usage: couch-hash-pwd -p clear-text-password [ -s salt ] [ -i iterations ]

  -p, --password        The clear text password that you wish to hash

  -s, --salt            Optional 16 character salt. If left blank then a random salt will be chosen

  -i, --iterations      Optional number of iterations

                        Default: 10

Example

$ couch-hash-pwd -p mysecret

Outputs: -pbkdf2-515d6a879832819863e12475ad0bb6f03abb7f8e,88b2a6274f9ebeb3e2928a86382590ec,10. You can then use this in the [admins] section of your CouchDB's local.ini, e.g.

[admins]
myuser = -pbkdf2-515d6a879832819863e12475ad0bb6f03abb7f8e,88b2a6274f9ebeb3e2928a86382590ec,10

Testing

Keywords

js

FAQs

Package last updated on 16 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.