usage
hashPass passsalt
examples
hashPass = require 'hashPass' consolelog hashPass# { pass: 'ac7f80b56', # salt: 'd8e1476b44b8e3c905e2db2be51ad0a1062a8992', # hash: 'CcUj96u98mE=' } consolelog hashPass'mytotallysecretpassword'# { pass: 'mytotallysecretpassword', # salt: '5e75b36dd4e3ed05b0fb7e1ca4e0bfe1dde1c456', # hash: 'cJ6HdyDYQN4=' } cipher = cryptocreateCipher 'blowfish''mytotallysecretpassword' + '5e75b36dd4e3ed05b0fb7e1ca4e0bfe1dde1c456'console.log = cipherfinal 'base64'# cJ6HdyDYQN4= consolelog hashPass'mytotallysecretpassword''5e75b36dd4e3ed05b0fb7e1ca4e0bfe1dde1c456'# { pass: 'mytotallysecretpassword', # salt: '5e75b36dd4e3ed05b0fb7e1ca4e0bfe1dde1c456', # hash: 'cJ6HdyDYQN4=' }