Skip to content

I hope if you're reading this you have all your passwords encrypted somehow... right? 🤨

License

Notifications You must be signed in to change notification settings

mateolafalce/Encrypter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encrypter 🔐

Change the PATH const in the main.rs file, with your path file. Then run cargo run --release and encrypt your critic content!

mod io;
mod magic_crypt;
mod utils;

use crate::{
    io::{get::get_path, menu::menu},
    magic_crypt::{decrypt_file::decrypt_file, encrypte_file::encrypte_file},
    utils::{check_existence, verify_os},
};

fn main() -> std::io::Result<()> {
    verify_os()?;
    let path: &str = &get_path();
    check_existence(path)?;
    let encrypte_decrypt_option: u8 = menu();
    match encrypte_decrypt_option {
        0 => encrypte_file(path),
        1 => decrypt_file(path),
        _ => std::process::exit(1),
    }?;
    Ok(())
}

"screenshot"

About

I hope if you're reading this you have all your passwords encrypted somehow... right? 🤨

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages