How to compare old password from migrated data using bycrypt : I recently migrated my users table from sql server to mongodb using pentaho etl tool.The password field is binary data type but i am using bycrypt to hash password in nodejs for all new user creation so how do i compare my old users password with bycrypt since that is encrypted using sql server ? Any help would be really appreciated,Thanks.