Last active
April 2, 2018 13:07
-
-
Save KamilLelonek/468d5233b45f04beebfcf254ca3a6403 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with {public_key, private_key} <- :crypto.generate_key(:ecdh, :secp256k1), | |
do: {Base.encode16(public_key), Base.encode16(private_key)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment