[][src]Module hpke::setup

Functions

setup_receiver

Initiates an encryption context given a private key sk and an encapsulated key which was encapsulated to sk's corresponding public key

setup_sender

Initiates an encryption context to the given recipient. Does an "authenticated" encapsulation if sk_sender_id is set. This ties the sender identity to the shared secret.