开发者ID:dcos,项目名称:dcos-e2e,代码行数:40,代码来源:test_legacy.py 示例6: calico_ipip_cluster ▲点赞 5▼ # 需要导入模块: from passlib.hashimport sha512_crypt [as 别名]# 或者: from passlib.hash.sha512_crypt importhash[as 别名]defcalico_ipip_cluster(docker_backend: Docker, artifact_pa...
开发者ID:xeddmc,项目名称:ZeroNet,代码行数:33,代码来源:ContentManager.py 示例6: verifyPiece ▲点赞 1▼ # 需要导入模块: from Crypt import CryptHash [as 别名]# 或者: from Crypt.CryptHash importsha512sum[as 别名]defverifyPiece(self, inner_path, pos, piece):piecemap = self.getPiecemap(inn...