Module: HasSecurePasswordArgon2
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/has_secure_password_argon2.rb,
lib/has_secure_password_argon2/version.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethodsOnActivation Classes: Error
Constant Summary collapse
- VERSION =
'1.0.0'
Class Attribute Summary collapse
-
.memory_cost ⇒ Object
Returns the value of attribute memory_cost.
-
.secret ⇒ Object
Returns the value of attribute secret.
-
.time_cost ⇒ Object
Returns the value of attribute time_cost.
Class Attribute Details
.memory_cost ⇒ Object
Returns the value of attribute memory_cost.
14 15 16 |
# File 'lib/has_secure_password_argon2.rb', line 14 def memory_cost @memory_cost end |
.secret ⇒ Object
Returns the value of attribute secret.
15 16 17 |
# File 'lib/has_secure_password_argon2.rb', line 15 def secret @secret end |
.time_cost ⇒ Object
Returns the value of attribute time_cost.
13 14 15 |
# File 'lib/has_secure_password_argon2.rb', line 13 def time_cost @time_cost end |