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



14
15
16
# File 'lib/meshchat/encryption/passthrough.rb', line 14

def decrypt(msg, *_args)
  msg
end

.encrypt(msg, *_args) ⇒ Object



10
11
12
# File 'lib/meshchat/encryption/passthrough.rb', line 10

def encrypt(msg, *_args)
  msg
end