Top 0.4% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 7.3% forks on proxy.golang.org
Top 0.8% docker downloads on proxy.golang.org
proxy.golang.org : github.com/bwesterb/go-ristretto
Pure Go implementation of the Ristretto prime-order group built from the Edwards curve Edwards25519. Many cryptographic schemes need a group of prime order. Popular and efficient elliptic curves like (Edwards25519 of `ed25519` fame) are rarely of prime order. There is, however, a convenient method to construct a prime order group from such curves, using a method called Ristretto proposed by Mike Hamburg. This package implements the Ristretto group constructed from Edwards25519. The Point type represents a group element. The API mimics that of the math/big package. For instance, to set c to a+b, one writes Warning: contrary to math.Big's interface, an uninitialized Point is not the same thing as the zero (neutral element) of the group: Most methods return the receiver, so that function can be chained: The order of the Ristretto group is l = 2^252 + 27742317777372353535851937790883648493 = 7237005577332262213973186563042994240857116359379907606001950938285454250989. The Scalar type implement the numbers modulo l and also has an API similar to math/big.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/bwesterb/go-ristretto
Keywords:
curve25519
, edwards25519
, elligator
, golang
, prime-order-group
, ristretto
License: MIT
Latest release: over 2 years ago
First release: almost 7 years ago
Namespace: github.com/bwesterb
Dependent packages: 201
Dependent repositories: 3,004
Stars: 90 on GitHub
Forks: 8 on GitHub
Docker dependents: 42
Docker downloads: 4,777,396
See more repository details: repos.ecosyste.ms
Last synced: 14 days ago