Class: Covert::Obfuscate

Inherits:
Obfuscation show all
Defined in:
lib/covert/obfuscate.rb

Overview

Obfuscation class

Instance Method Summary collapse

Methods inherited from Obfuscation

call, #initialize

Constructor Details

This class inherits a constructor from Covert::Obfuscation

Instance Method Details

#callObject



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