secp256k1 VS safegcd-bounds

Compare secp256k1 vs safegcd-bounds and see what are their differences.

secp256k1

Optimized C library for EC operations on curve secp256k1 (by bitcoin-core)

safegcd-bounds

Bounds on divsteps iterations in safegcd (by sipa)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
secp256k1 safegcd-bounds
9 2
1,954 46
1.4% -
9.1 0.0
9 days ago almost 3 years ago
C Coq
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

secp256k1

Posts with mentions or reviews of secp256k1. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-09.

safegcd-bounds

Posts with mentions or reviews of safegcd-bounds. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-10.
  • Binary GCD
    2 projects | news.ycombinator.com | 10 Oct 2021
    The binary GCD has inferior performance to other approaches for big numbers because those min() comparisons require that you had to update the entire numbers at each step.

    I submitted a writeup on the safegcd algorithm used by libsecp256k1 a while back, but it got the HN zomg-bitcoin-related quick flagging: https://github.com/bitcoin-core/secp256k1/blob/master/doc/sa...

    Safegcd-like functions requires somewhat more iterations but most of the iterations need to only operate on the least significant bits of the numbers, which makes them faster in practice.

    For safegcd-ish functions proving a hard upper bound on the number of require iterations is non-trivial. But it's useful to prove the bound in order to make constant time versions. Here is a writeup on our techniques for proving the upper bounds: https://github.com/sipa/safegcd-bounds#bounds-on-divsteps-it...

What are some alternatives?

When comparing secp256k1 and safegcd-bounds you can also consider the following projects:

cryptohash-sha256 - Fast, pure and practical SHA-256 implementation

constantine - Constantine: modular, high-performance, zero-dependency cryptography stack for proof systems and blockchain protocols.

blst - Multilingual BLS12-381 signature library

RavenStash - Stash for Ravencoin-stuff.

Ravencoin - Ravencoin Core integration/staging tree

dhall - Maintainable configuration files

nostr_vanity_npub - Nostr vanity `npub` generator