Module: MeshChat::Encryption::Passthrough

Defined in:
lib/meshchat/encryption/passthrough.rb

Overview

This should normally be for testing

It just retuns the message that is asked to be encrypted

Class Method Summary collapse

Class Method Details

.decrypt(msg, *args) ⇒ Object



12
13
14
# File 'lib/meshchat/encryption/passthrough.rb', line 12

def decrypt(msg, *args)
  msg
end

.encrypt(msg, *args) ⇒ Object



8
9
10
# File 'lib/meshchat/encryption/passthrough.rb', line 8

def encrypt(msg, *args)
  msg
end