class ProtoHackers::InsecureSocketLayer

Defined in:

8_insecure_socket_layer.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(host, port) #

[View source]
def self.new(num : UInt8) #

[View source]

Class Method Detail

def self.apply_ciphers(ciphers : Array(Cipher), bytes : Array(UInt8), pos : UInt32, is_decode : Bool = false) : Array(UInt8) #

[View source]
def self.reverse_bits(byte : UInt8) : UInt8 #

[View source]

Instance Method Detail

def handle_client(client : TCPSocket) #

[View source]
def parse_ciphers(message : Array(UInt8)) : Array(Cipher) #

[View source]