Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
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

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc