/crypto-examples

Cryptography Code Examples

Primary LanguagePythonMIT LicenseMIT

Cryptography Example Code

This is example code, and neither audited nor written for production purposes!

HPKE is an implementation of HPKE (draft-barnes-cfrg-hpke), written in Python such that the code (mostly) conforms closely to the pseudocode used in the draft.

HPKE Demo is a sample usage of the above, written with the intent that some of the flows and PDUs expected in a real system are more obvious.