Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::crypto::KyberKem::EncapsulationResult Struct Reference

Result of Kyber-768 encapsulation: ciphertext to send + shared secret to keep. More...

#include <post_quantum.hpp>

Public Attributes

std::vector< uint8_t > ciphertext
 CIPHERTEXT_SIZE bytes (sent to recipient).
 
std::vector< uint8_t > shared_secret
 32 bytes (used as AES-256 key).
 

Detailed Description

Result of Kyber-768 encapsulation: ciphertext to send + shared secret to keep.

Definition at line 697 of file post_quantum.hpp.

Member Data Documentation

◆ ciphertext

std::vector<uint8_t> signet::forge::crypto::KyberKem::EncapsulationResult::ciphertext

CIPHERTEXT_SIZE bytes (sent to recipient).

Definition at line 698 of file post_quantum.hpp.

◆ shared_secret

std::vector<uint8_t> signet::forge::crypto::KyberKem::EncapsulationResult::shared_secret

32 bytes (used as AES-256 key).

Definition at line 699 of file post_quantum.hpp.


The documentation for this struct was generated from the following file: