class Zetto::Services::Encryption::PasswordHashing
Public Class Methods
new(password)
click to toggle source
# File lib/zetto/services/encryption/password_hashing.rb, line 6 def initialize(password) @password = password end
Public Instance Methods
execute()
click to toggle source
# File lib/zetto/services/encryption/password_hashing.rb, line 10 def execute generate_hashing(Zetto::Config::Params.user_class_password_crypto, @password) rescue Exception => e Zetto::Services::Info.error_message I18n.t('exseptions.unknown_error', argument: 'Zetto::Services::Encryption::PasswordHashing', current_method: __method__), e nil end