totpGenerator.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:recipebook 作者: dpapathanasiou 项目源码 文件源码
def create (seed, hash=hashlib.sha512):
    """Create a new TOTP for the given secret seed and hash,
       using the default 30 second time step period."""

    return totp(stringToHex(seed), format='dec8', hash=hash)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号