Module proj_crypto::asymmetric::sign [] [src]

Public Key Signatures

Just re-exports of sodiumoxide

Reexports

pub use sodiumoxide::crypto::sign::ed25519::*;

Functions

get_keypair

Reads keys from a file. Returns (my_pk, my_sk)

get_pubkey

Reads a public key from a file

key_gen_to_file

Generate a keypair and put it into the specified file This is not memory tidy. It would be difficult to clear the memory properly here and I don't think it matters too much because this doesn't connect to the network