weareu/node.bcrypt.js — comment on commit e50f6d25d03accb1a39dded981544984c58b8d61
File: src/bcrypt_node.cc line 239
By shtylman:

So why can't the regular string constructors be used here? You have an ascii based string and there are direct string constructors for this to avoid jumping through this encoding hoop. Is there a historical reason for this? Unless there is I would favor updating the code to avoid the encode call altogether.