class Xml::Kit::Crypto::UnknownCipher

Attributes

algorithm[R]
key[R]

Public Class Methods

matches?(_algorithm) click to toggle source
# File lib/xml/kit/crypto/unknown_cipher.rb, line 14
def self.matches?(_algorithm)
  true
end
new(algorithm, key) click to toggle source
# File lib/xml/kit/crypto/unknown_cipher.rb, line 9
def initialize(algorithm, key)
  @algorithm = algorithm
  @key = key
end

Public Instance Methods

decrypt(cipher_text) click to toggle source
# File lib/xml/kit/crypto/unknown_cipher.rb, line 18
def decrypt(cipher_text)
  cipher_text
end