📜  烧瓶密钥生成器 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:11.041000             🧑  作者: Mango

代码示例1
# The secret key is needed to keep the client-side sessions secure.
# It's used for flask applications
# You can generate some random key as below:

>>> import os
>>> os.urandom(24)
'\xfd{H\xe5<\x95\xf9\xe3\x96.5\xd1\x01O