pub fn encode( input_path: &str, password: &str, output_path: Option<&str>, ) -> Result<String>
Encodes a file using XOR with the provided password and input path. Returns the output path of the encoded file.