def reconstruct(shares):
    prime = 18895749970915969007
    key = sss.reconstruct(prime, shares)
    #print key
    return key
def reconstruct(shares):
	prime  = 18895749970915969007
	key = sss.reconstruct(prime,shares)
	#print key
	return key
示例#3
0
文件: toyapp.py 项目: vishnuvp/toyapp
def reconstruct(file_name,shares):
	prime  = 18895749970915969007
	key = sss.reconstruct(prime,shares)
	#print key
	return aes.decrypt_file(str(key),file_name)