package
0.0.0-20250119000602-809120120630
Repository: https://github.com/n42blockchain/n42.git
Documentation: pkg.go.dev
# Packages
Package frodo provides the key encapsulation mechanism FrodoKEM.
Package kyber implements the CRYSTALS-Kyber.CCAKEM IND-CCA2 secure key encapsulation mechanism (KEM) as submitted to round 3 of the NIST PQC competition and described in
https://pq-crystals.org/kyber/data/kyber-specification-round3.pdf
The related public key encryption scheme CRYSTALS-Kyber.CPAPKE can be found in the package github.com/cloudflare/circl/pke/kyber.
# Variables
ErrCipherText is the error used if the provided ciphertext is invalid.
ErrCiphertextSize is the error used if the provided ciphertext is of the wrong size.
ErrPrivKeySize is the error used if the provided private key is of the wrong size.
ErrPubKey is the error used if the provided public key is invalid.
ErrPubKeySize is the error used if the provided public key is of the wrong size.
ErrSeedSize is the error used if the provided seed is of the wrong size.
ErrTypeMismatch is the error used if types of, for instance, private and public keys don't match.
# Interfaces
AuthScheme represents a KEM that supports authenticated key encapsulation.
A KEM private key.
A KEM public key.
A Scheme represents a specific instance of a KEM.