client

package
v0.0.0-...-180210d Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Delimiter = []byte("\n\r\n\r")

Functions

func DeriveFinalKey

func DeriveFinalKey(classicalSecret, postQuantumSecret []byte) ([]byte, error)

func GenerateKeypairs

func GenerateKeypairs() (*PrivateKeypair, *PublicKeypair, error)

func InitClient

func InitClient() error

Types

type PrivateKeypair

type PrivateKeypair struct {
	Classical   *ecdh.PrivateKey
	PostQuantum kem.PrivateKey
}

type PublicKeypair

type PublicKeypair struct {
	Classical   *ecdh.PublicKey
	PostQuantum kem.PublicKey
}

Jump to

Keyboard shortcuts

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