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:
If available in Hex, the package can be installed
by adding secp256k1
to your list of dependencies in mix.exs
:
def deps do
[
{:secp256k1, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/secp256k1.