Sekret
Getting Setup
There are a few config options.
Sekret.configure do |config|
config.mac_sekret = 'Super Sekret'
config.public_key = File.read('path to public pem')
config.private_key = File.read('path to private pem')
end
Encrypt Data
Sekret.encrypt('This is my secret message')
# => 'abc.123'
Decrypt Data
Sekret.decrypt('abc.123')
# => 'This is my secret message'