module BCrypt
module BCrypt::Errors
class BCrypt::Engine
class BCrypt::Error
class BCrypt::Errors::InvalidCost
class BCrypt::Errors::InvalidHash
class BCrypt::Errors::InvalidSalt
class BCrypt::Errors::InvalidSecret
class BCrypt::Password
bcrypt
3.1.19
:: autodetect_cost
def self.autodetect_cost(salt) salt[4..5].to_i end