Module: HrrRbSsh::Transport::MacAlgorithm::Unfunctionable

Included in:
None
Defined in:
lib/hrr_rb_ssh/transport/mac_algorithm/unfunctionable.rb

Instance Method Summary collapse

Instance Method Details

#compute(sequence_number, unencrypted_packet) ⇒ Object



18
19
20
# File 'lib/hrr_rb_ssh/transport/mac_algorithm/unfunctionable.rb', line 18

def compute sequence_number, unencrypted_packet
  String.new
end

#digest_lengthObject



10
11
12
# File 'lib/hrr_rb_ssh/transport/mac_algorithm/unfunctionable.rb', line 10

def digest_length
  self.class::DIGEST_LENGTH
end

#key_lengthObject



14
15
16
# File 'lib/hrr_rb_ssh/transport/mac_algorithm/unfunctionable.rb', line 14

def key_length
  self.class::KEY_LENGTH
end