Note that the javascript code works with both small integers and javascript's bigint numbers.
My elliptic curve implementations is intended to be readable, no attempt was made to make this cryptographically safe.
The calculations are performed by your browser, no data is sent to a server.
Willem Hengeveld itsme@xs4all.nl