Expand description
Saves file to same folder. Returns result
Examples
use enc_file::save_file;
use std::path::PathBuf;
use std::fs::remove_file;
let path: PathBuf = PathBuf::from("test123.testxyz");
let ciphertext: Vec<u8> = vec![1 as u8, 2 as u8];
save_file(ciphertext, &path).unwrap();
remove_file(&path).unwrap(); //remove file created for this text