[][src]Function enc_file::create_key

pub fn create_key(path: &str) -> Result<()>

Creates a new key from given charset. Does not use crypto_rand at this time. Returns result.

Examples

let filename: &str = "test.file";
create_key(&filename).unwrap();