Skip to content

Instantly share code, notes, and snippets.

@kodyabbott
kodyabbott / opaque_pake_example.py
Created February 27, 2025 04:21
Simplified OPAQUE PAKE implementation (educational purposes only)
"""
OPAQUE Protocol Implementation Sketch (Educational Use Only)
Based on draft-irtf-cfrg-opaque (The OPAQUE Augmented PAKE Protocol)
This is a simplified implementation for educational purposes,
not suitable for production use.
"""
import os
import hmac