Module: Pythia

Extended by:
ActiveSupport::Concern
Defined in:
lib/pythia.rb,
lib/pythia/version.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethodsOnActivation

Constant Summary collapse

MAX_PASSWORD_LENGTH_ALLOWED =
30
VERSION =
'0.0.2'.freeze

Instance Method Summary collapse

Instance Method Details

#get_pythia_password(unencrypted_password) ⇒ Object



15
16
17
18
19
20
# File 'lib/pythia.rb', line 15

def get_pythia_password(unencrypted_password)
    # TODO: Use tweak properly
    pw_hash = PythiaClient::get_prf_value(unencrypted_password,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
    # puts "Hash received as:#{pw_hash}"
    pw_hash
end