Module prio::encrypt[][src]

Expand description

Utilities for ECIES encryption / decryption used by the Prio client and server.

Structs

NIST P-256, private key

NIST P-256, public key in X9.62 uncompressed format

Enums

Possible errors from encryption / decryption.

Constants

Length of the EC public key (X9.62 format)

Length of the AES-GCM tag

Functions

Decrypt a bytestring using the private key

Encrypt a bytestring using the public key