Sha256: 168529269e7fd0edb2a6905229135378d8b05787a81a3c37487bc73f08bb22b9
Contents?: true
Size: 432 Bytes
Versions: 7
Compression:
Stored size: 432 Bytes
Contents
module IOStreams module SymmetricEncryption class Reader < IOStreams::Reader # read from a file/stream using Symmetric Encryption def self.stream(input_stream, **args, &block) unless defined?(SymmetricEncryption) Utils.load_soft_dependency('symmetric-encryption', '.enc streaming') end ::SymmetricEncryption::Reader.open(input_stream, **args, &block) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems