Class: Lite::Encryption::Configuration
- Inherits:
-
Object
- Object
- Lite::Encryption::Configuration
- Defined in:
- lib/lite/encryption/configuration.rb
Instance Attribute Summary collapse
-
#encryption_iv ⇒ Object
Returns the value of attribute encryption_iv.
-
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
-
#encryption_salt ⇒ Object
Returns the value of attribute encryption_salt.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 |
# File 'lib/lite/encryption/configuration.rb', line 10 def initialize @encryption_iv = Lite::Encryption::Key.generate_iv @encryption_key = Lite::Encryption::Key.generate_key @encryption_salt = Lite::Encryption::Key.generate_salt end |
Instance Attribute Details
#encryption_iv ⇒ Object
Returns the value of attribute encryption_iv.
8 9 10 |
# File 'lib/lite/encryption/configuration.rb', line 8 def encryption_iv @encryption_iv end |
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
8 9 10 |
# File 'lib/lite/encryption/configuration.rb', line 8 def encryption_key @encryption_key end |
#encryption_salt ⇒ Object
Returns the value of attribute encryption_salt.
8 9 10 |
# File 'lib/lite/encryption/configuration.rb', line 8 def encryption_salt @encryption_salt end |