我是meteorJS的新手,我正在學習一個建議使用流星用戶登錄設置的命令(命令是:meteor add accounts-ui accounts-password
),這看起來與passport或devise(對於ruby)類似。但我收到警告:MeteorJS Bcrypt vs純Javascript Bcrypt?速度和安全
W20170514-13:03:03.163(-4)? (STDERR) Note: you are using a pure-JavaScript implementation of bcrypt.
W20170514-13:03:04.713(-4)? (STDERR) While this implementation will work correctly, it is known to be
W20170514-13:03:04.714(-4)? (STDERR) approximately three times slower than the native implementation.
W20170514-13:03:04.714(-4)? (STDERR) In order to use the native implementation instead, run
W20170514-13:03:04.715(-4)? (STDERR)
W20170514-13:03:04.716(-4)? (STDERR) meteor npm install --save bcrypt
W20170514-13:03:04.716(-4)? (STDERR)
W20170514-13:03:04.717(-4)? (STDERR) in the root directory of your application.
鑑於純JavaScript bcrypt比流星bcrypt這是否影響安全性可言慢?使用純js bcrypt更安全嗎?我如何測試這個?
現在這很有趣,它發生在我昨天。我試圖'''流星添加npm-bcrypt''',但我一直有這個問題要求我安裝直接NPM包。我對結果感興趣。你有沒有試過流星包? – TheBilTheory