Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function test_hash_password(password, bytes){
var expected = new Buffer(bytes);
var actual = auth.hashPassword(password);
sys.print('hashPassword('+password+')...');
assert.deepEqual(actual, expected); // , 'hashPassword('+password+') failed');
sys.print('ok\n');
}