class Atheneum::Strategy::Crypt
Public Instance Methods
pack(string)
click to toggle source
# File lib/atheneum/strategy/crypt.rb, line 4 def pack(string) BCrypt::Password.create(string).to_s end
unpack(crypted_record)
click to toggle source
# File lib/atheneum/strategy/crypt.rb, line 8 def unpack(crypted_record) BCrypt::Password.new(crypted_record) end