DO NOT USE IN PRODUCTION
Mec provides elliptic curve and finite field based cryptographic primitives and protocols.
The library characteristics are:
Do not use this library if:
Here some suggestions of libraries you can use to get better performances:
Mec.Curve) focuses on implementing elliptic curves like Pallas, Vesta, Secp256k1, Secp256r1, Ed26619, etc. Computations can happen in different types of coordinates: affine, projective, jacobian, etc and conversions are provided.Mec.Hash) focuses on implementing EC or field based hash functions like Poseidon, Sinsemilla, Pedersen. We tend to add instances found in projects like Dusk, Zcash and others.Mec.Signature) focuses on implementing EC or field signature schemes.Mec.Protocols) implements different protocols using the cryptographic primitives. At the moment, this section is poor.There is no plan to release a version of Mec right now as it is not meant to be used in production. There will maybe be releases from time to time. If not, it is recommended to pin to a certain commit, or master.
opam pin add mec.dev git+https://gitlab.com/dannywillems/ocaml-ec\#master --no-action
opam install mec.devTo use in your project, simply add mec in your dependencies.