Password-authenticated key exchange
Agree on a session key from a password without sending the password.
PAKE protocols run in rounds. Each round consumes the previous state object
and returns the next one with the message for the peer. Authentication
failures raise oxcrypto.InvalidTag.
Important
Every protocol state is single use. Reusing a state, including one whose
finish call failed, raises ValueError.
Algorithms
- OPAQUE Register and log in with OPAQUE-3DH (RFC 9807), an augmented PAKE where the server stores no password-equivalent.