这是我用来为我的应用程序生成密码重置链接的代码:
def create_unique_code(): return str(uuid.uuid4())
那够强吗?我使用一两天的到期时间。
python security uuid cryptography
cryptography ×1
python ×1
security ×1
uuid ×1