Sha256: 9a2fa70e338c91a10dd3389b53c566e75df8ca79a1c262e1c985f0842a8be232
Contents?: true
Size: 392 Bytes
Versions: 4
Compression:
Stored size: 392 Bytes
Contents
# frozen_string_literal: true module Noise module Connection class Initiator < Base def initialize_next_message @next_message = :write end def initiator? true end def handshake_done(c1, c2) super @cipher_state_encrypt = c1 @cipher_state_decrypt = @protocol.pattern.one_way? ? nil : c2 end end end end
Version data entries
4 entries across 4 versions & 1 rubygems