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