Silicon

Silicon is another wrapper of Elixir/Erlang crypto packages.

Installation

The package can be installed by adding silicon to your list of dependencies in mix.exs:

def deps do
  [
    {:silicon, "~> 0.1.0"}
  ]
end

The docs can be found at https://hexdocs.pm/silicon.

Packages

We wrapped the packages below:

Test Vectors

We added lots of extra test vectors to test against the methods exposed by silicon

AES Test Vectors

Hash Function Test Vectors

HMAC Test Vectors

Ed25519 Test Vectors

Secp256k1 Test Vectors

For wycheproof test vectors, We only test against ecdh vectors. For ecdsa tests, some cases might fail because that the Bitcoin-Secp256k1 seems more strict. See an example here. We don't have a good way to distinguish those cases now.