In this gist I'll show you how to encrypt messages using Ruby built-in and external libraries. Whenever possible I'll show you how to define in the most simplest way the encryption and the decryption methods.
- Openssl
def self.encrypt(input_word)
key = 'secret'