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