Elliptic Curve Arithmetic in Script

Modular Inverse

Extended Euclidean Algorithm

Source: Wikipedia

Implementation

Source code

Calculating the upper bound of the loop

Point addition

Source code

Point doubling

Source code

Scalar multiplication

Source code

ECDSA Signature Verification

Source code

Acknowledgements

--

--

--

sCrypt Inc (https://scrypt.io) is a company with a mission to provide integrated on-chain smart contracting solutions using the original BitCoin Protocol on BSV

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Vanity Endpoints — API Connect

How to make simple Machine Learning program inside Docker container.

Nextcloud Leaps Forward With One-Click Google and OneDrive Migration

Write and maintain custom git commands

Cross-platform mobile app development tools: Why developers are choosing them and why you should…

Adopting Serverless in a Kubernetes ecosystem

Monitor & Reduce AWS Cost by 50%+

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
sCrypt

sCrypt

sCrypt Inc (https://scrypt.io) is a company with a mission to provide integrated on-chain smart contracting solutions using the original BitCoin Protocol on BSV

More from Medium

Decentralization, a widely misunderstood concept

Brubeck: Technical Update, March 2022

Blockstream Markets Weekly — April 8, 2022

Build a Pretty Good Lightning Network Node