Class: ActsAsEncrypted::ActsConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/acts_as_encrypted.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeActsConfig

Returns a new instance of ActsConfig.



7
8
9
10
# File 'lib/acts_as_encrypted.rb', line 7

def initialize
  @dbCipherType='aes-256-cbc'
  @dbCipherKey='965f79fc27052324879b138b46df31e6f66c4d00'
end

Instance Attribute Details

#dbCipherKeyObject

Returns the value of attribute dbCipherKey.



12
13
14
# File 'lib/acts_as_encrypted.rb', line 12

def dbCipherKey
  @dbCipherKey
end

#dbCipherTypeObject

Returns the value of attribute dbCipherType.



12
13
14
# File 'lib/acts_as_encrypted.rb', line 12

def dbCipherType
  @dbCipherType
end