Module: EncryptVigen

Defined in:
lib/encryptvigen.rb

Overview

Modulo de uso

Class Method Summary collapse

Class Method Details

.decrypt(encrypted_msg, key) ⇒ Object

Metodo para desencriptar mensaje



15
16
17
# File 'lib/encryptvigen.rb', line 15

def self.decrypt(encrypted_msg, key)
    return EncryptV.new.decrypt(encrypted_msg, key)
end

.encrypt(msg, key) ⇒ Object

Metodo para encriptar mensaje



10
11
12
# File 'lib/encryptvigen.rb', line 10

def self.encrypt(msg, key)
    return EncryptV.new.encrypt(msg, key)
end