Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiply Error #1

Open
KevinCooper opened this issue Apr 1, 2015 · 0 comments
Open

Multiply Error #1

KevinCooper opened this issue Apr 1, 2015 · 0 comments

Comments

@KevinCooper
Copy link

>>> 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`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant