Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 859 Bytes

README.md

File metadata and controls

44 lines (37 loc) · 859 Bytes

Password

Build Status Coverage Status

A password hash/verify service.

Supported Algorithm

  • argon2
  • pbkdf2
  • scrypt
  • bcrypt

APIs

Hash

POST /v1/hash
{
  password: 'your secret password',
  algorithm: 'any of supported' // default to pbkdf2
}

// response
{
  hashed: 'hashed password'
}

Verify

POST /v1/verify
{
  password: 'your secret password',
  hashed: 'hashed password to be verified'
}

// response
{
  match: true // true or false
}

Links