Class: Net::SSH::Transport::OpenSSLAESCTR
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Net::SSH::Transport::OpenSSLAESCTR
- Defined in:
- lib/net/ssh/transport/ctr.rb
Overview
:nodoc:
Class Method Summary collapse
Instance Method Summary collapse
- #block_size ⇒ Object
-
#initialize(original) ⇒ OpenSSLAESCTR
constructor
A new instance of OpenSSLAESCTR.
- #iv=(iv_s) ⇒ Object
- #reset ⇒ Object
Constructor Details
#initialize(original) ⇒ OpenSSLAESCTR
Returns a new instance of OpenSSLAESCTR.
7 8 9 10 |
# File 'lib/net/ssh/transport/ctr.rb', line 7 def initialize(original) super @was_reset = false end |
Class Method Details
.block_size ⇒ Object
16 17 18 |
# File 'lib/net/ssh/transport/ctr.rb', line 16 def self.block_size 16 end |
Instance Method Details
#block_size ⇒ Object
12 13 14 |
# File 'lib/net/ssh/transport/ctr.rb', line 12 def block_size 16 end |
#iv=(iv_s) ⇒ Object
24 25 26 |
# File 'lib/net/ssh/transport/ctr.rb', line 24 def iv=(iv_s) super unless @was_reset end |
#reset ⇒ Object
20 21 22 |
# File 'lib/net/ssh/transport/ctr.rb', line 20 def reset @was_reset = true end |