protocol

package
v0.0.0-...-f318d61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const KEMNAME = "kyber512"

Variables

This section is empty.

Functions

func Marshal

func Marshal(data interface{}) ([]byte, error)

func MarshalTo

func MarshalTo(dst []byte, data interface{}) ([]byte, error)

func StartKexClient

func StartKexClient()

func StartKeyExchange

func StartKeyExchange(host, port string)

func Unmashal

func Unmashal(data []byte) (interface{}, error)

Types

type KeyExchange

type KeyExchange struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL