Class: S7::PlainCipher
Overview
Cipher クラスと同じインタフェースを持つが、暗号化しないクラスを表現する。
Instance Attribute Summary
Attributes inherited from Cipher
Instance Method Summary collapse
Methods inherited from Cipher
Constructor Details
This class inherits a constructor from S7::Cipher
Instance Method Details
#decrypt(io) ⇒ Object
106 107 108 |
# File 'lib/s7/cipher.rb', line 106 def decrypt(io) return io.read end |
#encrypt(io) ⇒ Object
102 103 104 |
# File 'lib/s7/cipher.rb', line 102 def encrypt(io) return io.read end |