[−][src]Function enc_file::create_key
pub fn create_key(path: &PathBuf) -> Result<()>
Creates a new key from given charset. Does not use crypto_rand at this time. Returns result.
Examples
let filename = PathBuf::from("test.file")";
create_key(&filename).unwrap();