Class: Encryptable::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
# File 'lib/encryptable/configuration.rb', line 5

def initialize
  @key_length = 32
  @iv_length = 16
end

Instance Attribute Details

#ivObject

Returns the value of attribute iv.



3
4
5
# File 'lib/encryptable/configuration.rb', line 3

def iv
  @iv
end

#keyObject

Returns the value of attribute key.



3
4
5
# File 'lib/encryptable/configuration.rb', line 3

def key
  @key
end