module HrrRbSsh::Transport::MacAlgorithm::Unfunctionable

Public Class Methods

new(key=nil, logger: nil) click to toggle source
# File lib/hrr_rb_ssh/transport/mac_algorithm/unfunctionable.rb, line 12
def initialize key=nil, logger: nil
  self.logger = logger
end

Public Instance Methods

compute(sequence_number, unencrypted_packet) click to toggle source
# File lib/hrr_rb_ssh/transport/mac_algorithm/unfunctionable.rb, line 24
def compute sequence_number, unencrypted_packet
  String.new
end
digest_length() click to toggle source
# File lib/hrr_rb_ssh/transport/mac_algorithm/unfunctionable.rb, line 16
def digest_length
  self.class::DIGEST_LENGTH
end
key_length() click to toggle source
# File lib/hrr_rb_ssh/transport/mac_algorithm/unfunctionable.rb, line 20
def key_length
  self.class::KEY_LENGTH
end