Migrating users from devise to bcrpyt-ruby

Hi guys,

How would one migrate users on a rails site using the devise gem for authentication to using the bcrpyt-ruby gem(has_secure_password rails option) for the same? I know that both use bcrpyt, but devise has the stretches and pepper configurations in the devise.rb file and I’m a little uninformed on how to translate these for the bcrypt-ruby gem.

Is the pepper configuration in devise an active configuration when using bcrypt or is that skipped. I know the stretches config is pretty important(that’s the same as the workload right?). How would that translate?

Any help will be greatly appreciated.

Thanks Guys,

Regards,

Robert