Class: Secret

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

Overview

stores secret info as a class

Instance Attribute Summary collapse

Instance Attribute Details

#auth_dataObject

Returns the value of attribute auth_data.



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

def auth_data
  @auth_data
end

#auth_tagObject

Returns the value of attribute auth_tag.



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

def auth_tag
  @auth_tag
end

#ivObject

Returns the value of attribute iv.



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

def iv
  @iv
end

#saltObject

Returns the value of attribute salt.



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

def salt
  @salt
end

#secret_dataObject

Returns the value of attribute secret_data.



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

def secret_data
  @secret_data
end