测试 不解,把加密耗时因子设成最低,测试的速度反而慢了!

shangrenzhidao · May 13, 2014 · 1409 hits

设置 Bcrypt 的耗时因子 ActiveModel::SecurePassword.min_cost = true,之后速度返回慢了下来。

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.