research-lab/source-code/MiniNero/GenLookup.py

10 lines
197 B
Python
Raw Normal View History

2016-02-05 20:20:44 +00:00
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))