Class: Xml::Kit::Crypto::UnknownCipher
- Inherits:
-
Object
- Object
- Xml::Kit::Crypto::UnknownCipher
- Defined in:
- lib/xml/kit/crypto/unknown_cipher.rb
Class Method Summary collapse
Instance Method Summary collapse
- #decrypt(cipher_text) ⇒ Object
-
#initialize(algorithm, key) ⇒ UnknownCipher
constructor
A new instance of UnknownCipher.
Constructor Details
#initialize(algorithm, key) ⇒ UnknownCipher
Returns a new instance of UnknownCipher.
7 |
# File 'lib/xml/kit/crypto/unknown_cipher.rb', line 7 def initialize(algorithm, key); end |
Class Method Details
.matches?(_algorithm) ⇒ Boolean
9 10 11 |
# File 'lib/xml/kit/crypto/unknown_cipher.rb', line 9 def self.matches?(_algorithm) true end |
Instance Method Details
#decrypt(cipher_text) ⇒ Object
13 14 15 |
# File 'lib/xml/kit/crypto/unknown_cipher.rb', line 13 def decrypt(cipher_text) cipher_text end |