(filename: &str)
| 356 | } |
| 357 | |
| 358 | fn decrypt_rc4(filename: &str) -> Vec<u8> { |
| 359 | let mut buf = read_file(filename); |
| 360 | let mut rc4 = Rc4::new(b"C2Pain".into()); |
| 361 | |
| 362 | rc4.apply_keystream(&mut buf); |
| 363 | |
| 364 | buf |
| 365 | } |
| 366 | |
| 367 | fn prepare_args() -> (String, Vec<String>) { |
| 368 | let mut args: Vec<String> = env::args().collect(); |