-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
>>> from curve import Curve
>>> from point import Point
>>> c = Curve('sect233k1')
>>> x_point = 0x0000005ECAB775A72EAEB6E096B34E0D1A9FD67B5D7B4088FBB868E91612C9ED
>>> y_point = 0x00000055418CC79D13B0BFAED15EE6721AAFD506560120C931FE48C46A5E8352
>>> k = 0x099b7c4a4f332690f6946ddbfbe79e4e27266661aab9482ab8305c45b0f
>>> test = Point(c, x=x_point, y=y_point)
>>> test == c.G * 7 * k
True
>>> c.G * 1
Point 0x17232BA853A7E731AF129F22FF4149563A419C26BF50A4C9D6EEFAD6126, 0x1DB537DECE819B7F70F555A67C427A8CD9BF18AEB9B56E0C11056FAE6A3
>>> test * 1
Point 0x0, 0x0`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels