ncb000gt/node.bcrypt.js — Issue #46: Segfault in async encrypt
Author: benw
Created: 2011-11-24 04:38:37+00:00
State: open

bcrypt@0.4.0 from npm
node v0.6.2

var bcrypt = require('bcrypt');
var salt = bcrypt.gen_salt_sync(10);
bcrypt.encrypt("B4c0/\/", salt, function(err, hash) { console.log(hash); });
Segmentation fault

Using encrypt_sync works fine.