package
1.6.0
Repository: https://github.com/cloudflare/circl.git
Documentation: pkg.go.dev

# Functions

Decapsulate computes the shared key which is encapsulated in ct for the private key sk.
DeriveKeyPair derives a public/private keypair deterministically from the given seed.
DeriveKeyPairPacked derives a keypair like DeriveKeyPair, and returns them packed.
Encapsulate generates a shared key and ciphertext that contains it for the public key pk using randomness from seed.
GenerateKeyPair generates public and private keys using entropy from rand.
GenerateKeyPairPacked generates a keypair like GenerateKeyPair, and returns them packed.
Returns the generic KEM interface for X-Wing PQ/T hybrid KEM.

# Constants

Size of an X-Wing ciphertext.
Size of the seed passed to EncapsulateTo.
Size of an X-Wing private key.
Size of an X-Wing public key.
Size of a seed of a keypair.
Size of the established shared key.

# Variables

Raised when passing a byte slice of the wrong size for the shared secret to the EncapsulateTo or DecapsulateTo functions.

# Structs

An X-Wing private key.
An X-Wing public key.