Get algorithm information
Algorithm metadata
Generate a new NTRU-HPS-4096-821 keypair
Encapsulate a shared secret using the public key
Public key for encapsulation (1230 bytes)
Decapsulate a shared secret using the secret key
Ciphertext to decapsulate (1230 bytes)
Secret key for decapsulation (1590 bytes)
Shared secret (32 bytes)
NTRU-HPS-4096-821 key encapsulation mechanism wrapper class
NTRUHps4096821
Description
High-level wrapper for NTRU-HPS-4096-821 KEM operations. Provides secure key generation, encapsulation, and decapsulation with automatic memory management.
Memory Management:
Example