indutny / elliptic

Fast Elliptic Curve Cryptography in plain javascript
1.7k stars 381 forks source link

create Points with not only hex strings #200

Open Artenuvielle opened 5 years ago

Artenuvielle commented 5 years ago

pointFromX, pointFromY and initialization functions for points got an additional optional function parameter. This can be used for providing strings containing numbers in other bases than 16 (hex).

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 89.12% when pulling 134f4a8aa5ae7032424c8c32a4b9d1754f463818 on Artenuvielle:master into 71e4e8e2f5b8f0bdbfbe106c72cc9fbc746d3d60 on indutny:master.