Class: Covert::Obfuscate
- Inherits:
-
Obfuscation
- Object
- Obfuscation
- Covert::Obfuscate
- Defined in:
- lib/covert/obfuscate.rb
Overview
Obfuscation class
Instance Method Summary collapse
Methods inherited from Obfuscation
Constructor Details
This class inherits a constructor from Covert::Obfuscation
Instance Method Details
#call ⇒ Object
8 9 10 11 12 |
# File 'lib/covert/obfuscate.rb', line 8 def call c = cipher.encrypt c.key = digest encode(c.update(value.to_s) + c.final) end |