2.1.0 • Published 10 years ago

sodium_chloride v2.1.0

Weekly downloads
4
License
ISC
Repository
github
Last release
10 years ago

sodium_chloride

A salt is similar in concept to the secret key in our HMAC in that it mixes in with our hash to create a different hash. However, the purpose of a salt differs. A salt simply adds uniqueness to the hash and it doesn't need to be protected as a secret. A strong approach is to make each salt unique to the hash being generated, storing it alongside the hash. If each hash in a database is generated from a different salt, an attacker is forced to generate a rainbow table for each hash based on its salt rather than the entire database.

Installation

$ npm install --save sodium_chloride

Usage

var sodium_chloride = require('sodium_chloride');

sodium_chloride("Enter_Password_to_generate_Salthash");
//=> output passwordhash and salt 

Screenshots

console

Alt text


2.1.0

10 years ago

2.0.0

10 years ago

1.2.2

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago