Class: ActiveRecordStringEncryption::Configuration
- Inherits:
-
Object
- Object
- ActiveRecordStringEncryption::Configuration
- Defined in:
- lib/active_record_string_encryption/configuration.rb
Instance Attribute Summary collapse
-
#cipher_alg ⇒ Object
Returns the value of attribute cipher_alg.
-
#salt ⇒ Object
Returns the value of attribute salt.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/active_record_string_encryption/configuration.rb', line 7 def initialize @cipher_alg = 'aes-256-gcm' end |
Instance Attribute Details
#cipher_alg ⇒ Object
Returns the value of attribute cipher_alg.
5 6 7 |
# File 'lib/active_record_string_encryption/configuration.rb', line 5 def cipher_alg @cipher_alg end |
#salt ⇒ Object
Returns the value of attribute salt.
5 6 7 |
# File 'lib/active_record_string_encryption/configuration.rb', line 5 def salt @salt end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
5 6 7 |
# File 'lib/active_record_string_encryption/configuration.rb', line 5 def secret_key @secret_key end |