Я вижу в 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
. Там написано, что я хочу, чтобы пароль был «зашифрован». Почему и у нас пароль будет повторно зашифрован? И почему я должен указать «раз»?