Skip to content

Library providing secp256k1 curve operations.

Notifications You must be signed in to change notification settings

peatio/secp256k1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secp256k1

Library providing secp256k1 curve operations. Using this library you can:

  • apply scalar multiplication to point(this operation used in Bitcoin private to public keys mapping)
  • add two points

This code based on source code from answer:

  • This library fix the bug of original library abount the calculate of rem.

Installation

pre-requirement

# for OSX
brew install gmp

adding secp256k1 to your list of dependencies in mix.exs:

def deps do
  [
     {:secp256k1, git: "https://github.com/peatio/secp256k1", branch: "master"},
  ]
end

About

Library providing secp256k1 curve operations.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elixir 100.0%