research-lab/source-code/MiniNero/GenLookup.py
2016-02-05 13:20:44 -07:00

9 lines
197 B
Python

import MiniNero
def getHForCT():
A = MiniNero.publicFromInt(123456)
return MiniNero.hashToPoint_ct(A)
H = getHForCT()
for i in range(0, 2**14):
print(MiniNero.scalarmultKeyInt(H, i))