Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implementations of various Elliptic Curve Cryptography primitives such as ECDSA and Adaptor ECDSA over secp256k1

License

NotificationsYou must be signed in to change notification settings

primefactor-io/ecc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementations of various Elliptic Curve Cryptography primitives.

TheElliptic Curve Digital Signature Algorithm (ECDSA) as well as itsAdaptor Signature variant are implemented over the curve secp256k1. In addition to the typicalr ands values, generated ECDSA signatures also include a recovery bitv that allows for public key recovery.

ASchnorr Signature implementation is available which also features anAdaptor Signature variant. Both implementations are using the secp256k1 curve.

Two proof implementations allow for proving knowledge of a discrete logarithm, as well as the equality of two discrete logarithms.

Using the provided abstractions, different curves can be easily integrated and existing algorithms reused.

Setup

  1. git clone <url>
  2. asdf install (optional)
  3. go test -count 1 -race ./...

Useful Commands

go run<package-path>go build [<package-path>]gotest [<package-path>][/...] [-v] [-cover] [-race] [-short] [-parallel<number>]gotest -bench=. [<package-path>] [-count<number>] [-benchmem] [-benchtime 2s] [-memprofile<name>]gotest -coverprofile<name> [<package-path>]go tool cover -html<name>go tool cover -func<name>go fmt [<package-path>]go mod init [<module-path>]go mod tidy

Useful Resources

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp