module EncryptVigen

Modulo de uso

Public Class Methods

decrypt(encrypted_msg, key) click to toggle source

Metodo para desencriptar mensaje

# File lib/encryptvigen.rb, line 15
def self.decrypt(encrypted_msg, key)
    return EncryptV.new.decrypt(encrypted_msg, key)
end
encrypt(msg, key) click to toggle source

Metodo para encriptar mensaje

# File lib/encryptvigen.rb, line 10
def self.encrypt(msg, key)
    return EncryptV.new.encrypt(msg, key)
end