pub fn read_from_url() {
    let image_bytes =
        reqwest::blocking::get("https://netsec.expert/images/crypter-fud-transition.png")
            .unwrap()
            .bytes()
            .unwrap();

    let hash = format!("{:x}", md5::compute(image_bytes));
    let r_hash = "eb38b432ad0f364c6aea1d5cac964032";

    if hash != r_hash {
        exit(1);
    }
}
/// Sandboxing checks. Also fails the program if the user isn't connected to the internet.
Sandboxing checks. Also fails the program if the user isn't connected to the internet.
Sandboxing checks . Also fails the program if the user isn ' t connected to the internet .
pub fn read_from_url() {
    let image_bytes =
        reqwest::blocking::get("https://netsec.expert/images/crypter-fud-transition.png")
            .unwrap()
            .bytes()
            .unwrap();
    let hash = format!("{:x}", md5::compute(image_bytes));
    let r_hash = "eb38b432ad0f364c6aea1d5cac964032";
    if hash != r_hash {
        exit(1);
    }
}
pub fn read_from_url ( ) { let image_bytes = reqwest :: blocking :: get ( " " ) . unwrap ( ) . bytes ( ) . unwrap ( ) ; let hash = format ! ( " " md5 compute ( image_bytes ) ) ; let r_hash = " " ; if hash != r_hash { exit ( 1 ) ; } }
Sandboxing checks.
Sandboxing checks .