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

Version Path
iostreams-1.1.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.0.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.0.0.beta7 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.0.0.beta6 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.0.0.beta5 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.0.0.beta4 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.0.0.beta3 lib/io_streams/symmetric_encryption/reader.rb