Sha256: b0ff78fc2429ee09a79128434205fe59dfd582ae3303f2e48bd42c796dd87bd8

Contents?: true

Size: 410 Bytes

Versions: 20

Compression:

Stored size: 410 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)
        Utils.load_soft_dependency("symmetric-encryption", ".enc streaming") unless defined?(SymmetricEncryption)

        ::SymmetricEncryption::Reader.open(input_stream, **args, &block)
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
iostreams-1.10.3 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.10.2 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.10.1 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.10.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.9.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.8.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.7.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.6.2 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.6.1 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.6.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.5.1 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.5.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.4.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.3.3 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.3.2 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.3.1 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.3.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.2.1 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.2.0 lib/io_streams/symmetric_encryption/reader.rb
iostreams-1.1.1 lib/io_streams/symmetric_encryption/reader.rb