Sha256: 69cb8c02dac8334bf2e69d2c4eb1c31d37c979ec6259b4f33b3fb7dda54bf8b2
Contents?: true
Size: 422 Bytes
Versions: 1
Compression:
Stored size: 422 Bytes
Contents
module Parsel module Marshal def self.encrypt(*args) Parsel.print_deprecation_message key, iv, data = Parsel.expand_args(args) Parsel.encrypt(key, iv, ::Marshal.dump(data)) end def self.decrypt(*args) Parsel.print_deprecation_message key, iv, data = Parsel.expand_args(args) ::Marshal.load Parsel.decrypt(key, iv, data) rescue Exception false end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
parsel-1.0.0 | lib/parsel/marshal.rb |