Pre-authentication encoding (PAE) implementation in Python
