str给定python 中a 的 sha256 哈希值:
import hashlib
hash = hashlib.sha256('foobar'.encode('utf-8'))
如何将hash转换为 a UUID?
2^256注意:鉴于 hexdigest 具有可能的值并且 UUID 具有 ,显然存在 hexdigest 到 UUID 的多对一映射2^128。
预先感谢您的考虑和回复。
潇湘沐
白衣非少年
相关分类