Post
Topic
Board Development & Technical Discussion
Re: Neural Networks and Secp256k1
by
ETFbitcoin
on 17/05/2021, 09:35:37 UTC
Don't forget to make youre X,Y length to 32 or 256.
while(X.length != 256)
X = "0" + X;


If it's string, just use zfill.

Code:
>>> text = 'ABCDEF'
>>> text.zfill(10)
'0000ABCDEF'
>>> text.zfill(6)
'ABCDEF'