Run iex -S mix to compile Elixir Code
Elixir Cryptography Library.
- One time pad Modular / XOR
- Simple RSA Erl :crypto / custom made -
Demo:
Benchmark: Cryptonetwork.Rsa.bench_measure(plain_text,[])
Test: Cryptonetwork.excrypto_encrypt(plain_text,key_size)
- Diffie-Hellman -
Demo: Alice exchange message 16 to Bob: Cryptonetwork.Diffkeyex.demo(23,16)
If available in Hex, the package can be installed
by adding cryptonetwork
to your list of dependencies in mix.exs
:
def deps do
[
{:cryptonetwork, "~> 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/cryptonetwork.