Versions in this module Expand all Collapse all v0 v0.0.2 Feb 21, 2024 Changes in this version + const X25519SeedSize v0.0.1 Feb 15, 2024 Changes in this version + const Blake2bXOFKeySize + const CiphertextSize + const DecapsulationKeySize + const EncapsulationKeySize + const EncapsulationSeedSize + const KeySeedSize + const SharedKeySize + func Decapsulate(decapsulationKey, ciphertext []byte) (sharedKey []byte, err error) + func Encapsulate(encapsulationKey []byte) (ciphertext, sharedKey []byte, err error) + func EncapsulateFromSeed(encapsulationKey, seed []byte) (ciphertext, sharedKey []byte, err error) + func GenerateKey() (encapsulationKey, decapsulationKey []byte, err error) + func GenerateKeyFromSeed(seed []byte) (encapsulationKey, decapsulationKey []byte, err error)