Sha256: 4427f9303a2c2f81d8e8e551a2a77ed23c8c04bf4f9a5b4afc316312d6fc0485

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

module Zetto::Services::Encryption

  class PasswordHashing
    include Zetto::Modules::Crypto

    def initialize(password)
      @password = password
    end

    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

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zetto-2.2.0 lib/zetto/services/encryption/password_hashing.rb