Skip to content

fix: decode ec point according to the spec - #253

Open
mahnunchik wants to merge 1 commit into
indutny:masterfrom
CoinSpace:decode-point
Open

fix: decode ec point according to the spec#253
mahnunchik wants to merge 1 commit into
indutny:masterfrom
CoinSpace:decode-point

Conversation

@mahnunchik

Copy link
Copy Markdown

This PR includes decodePoint method according to the specification: https://tools.ietf.org/html/rfc8032#section-5.1.3

If the resulting value is >= p, decoding fails.

There are some tests, if needed more tests can be added.

Related issue: #250

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage decreased (-0.1%) to 88.792% when pulling c6d2432 on CoinSpace:decode-point into 43ac7f2 on indutny:master.

@mahnunchik

Copy link
Copy Markdown
Author

@indutny @fanatid ping

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

Successfully merging this pull request may close these issues.

2 participants