Sha256: bcb1f7ac90bab13df7daa7773385f0523fc1be3b6aa9151893f82cc903bbb5b9

Contents?: true

Size: 305 Bytes

Versions: 4

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

module Xml
  module Kit
    module Crypto
      class UnknownCipher
        def initialize(algorithm, key); end

        def self.matches?(_algorithm)
          true
        end

        def decrypt(cipher_text)
          cipher_text
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
xml-kit-0.2.0 lib/xml/kit/crypto/unknown_cipher.rb
xml-kit-0.1.14 lib/xml/kit/crypto/unknown_cipher.rb
xml-kit-0.1.13 lib/xml/kit/crypto/unknown_cipher.rb
xml-kit-0.1.12 lib/xml/kit/crypto/unknown_cipher.rb