config / initializers / devise.rbに、「config.stretches」という構成があります。
# ==> Configuration for :database_authenticatable
# For bcrypt, this is the cost for hashing the password and defaults to 10. If
# using other encryptors, it sets how many times you want the password re-encrypted.
config.stretches = 10
どういう意味かわかりませんstretches
。パスワードを「再暗号化」したいときだと書いてあります。なぜ、私たちのパスワードは再暗号化されるのですか?そして、なぜ「時間」を指定する必要があるのですか?