Sha256: 52d3aa568deee44396843bc96c6fb3243351566ed153b66107aaea1678e3ebe9
Contents?: true
Size: 241 Bytes
Versions: 1
Compression:
Stored size: 241 Bytes
Contents
module Parsel module JSON def self.encrypt(key, data) Parsel.encrypt(key, ::JSON.dump(data)) end def self.decrypt(key, data) ::JSON.load Parsel.decrypt(key, data) rescue Exception false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
parsel-0.2.0 | lib/parsel/json.rb |