18 lines
20 KiB
Rust
18 lines
20 KiB
Rust
use encrypted_images::decryption::images::decode_image_and_extract_text;
|
|
use encrypted_images::decryption::text::decrypts;
|
|
fn main() {
|
|
let encoded_image = "iVBORw0KGgoAAAANSUhEUgAAAGwAAABsCAYAAACPZlfNAAA4QElEQVR4nO3cCWxkW3of9v+tfV+4FZcii1uxuDR7ff36db/uWTySxlomkjyyLNtyFFtWAjhQHMAxbMCOk0hAEiNRAmQBLBmCEjuIbdiwDFluy/LzeGY4zfdev252s5trcSkuRbKqyGIVi7Uv9/p/7r1FFl9TM2PLtkCBBxhMo8l363znd+453/kOm9K33v6OEh69i+2SGT1H80gflJEo22EZrgOHfkCaxD3/N/Gi24qRzU4M92fxNGrA47t3MD+ThtO6gLByE8oDP14v23Cz9DtYyN3EQ8cxZt8fwyhOsA4v3n/1r7FYA1LKNEzWdgxb12Hfn8C65UB9RnDsEUqnc7Dt+xC7GULtRQGVh05Mf2sR0a/cxy3I8ORfYmbDgScP7uCj2Tge+qN4Fm9g+sltxL7pQdFzCFt7HfePV/GduoJ7RuAFbqDWtY3e4BhES36yCrvdCWNmEnnjt2E03QAG1yC3yah9asDjL7yP56+WMXUnCMO/iqLQ60P2NI6MpOBul4TF3bu4VXPh+fhnKG8r6DGU1ZgePWiD9GkGL2sxRB6H4X4xhznnVyGfPoOpOgZFqaIytArb1jRQr6njU2zksWgH8jfG4fg4ipFqDW/bHHBJFeDYjmrPLVgGsyjbn6FueAzDTBHSz/7Ye9dgVwnsT//ovWuwqwT2p37k7jXYVQL7kz985xrsKoH9zB+9fQ12lcD+xFdvXYNdJbCf/qGb12BXCeyP/+D0NdhVAvupH7hxDXaVwL7+lalrsKsE9sf+yOQ12FUC+8kvT1yDXSWwn/jS+DXYVQL78S9GrsGuEth/8oWxa7CrBPa1J+FrsKsE9mOPR6/BrhLYj344cg12lcB+5NHwNdhVAvvhh0PXYFcJ7I9+MHgNdpXAvvogdA12lcB+6P2Ba7CrBPaD9/uvwa4S2A+8F7wG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unkI1tcEG7+LVGGNYD2XgonxEWB7AmwliuL9UXgJVrsAdqqBGR8S7BPI0xb8G9EpP1zGlc4vAAAAAElFTkSuQmCC";
|
|
let extracted_text = decode_image_and_extract_text(encoded_image);
|
|
match extracted_text {
|
|
Some(encrypted_text) => {
|
|
let key = Some("your_secret_key"); // Replace with your actual key
|
|
let decrypted_text = decrypts(encrypted_text.as_str(), key.clone());
|
|
match decrypted_text {
|
|
Some(text) => println!("Decrypted Text:\n{}", text),
|
|
None => println!("Decryption failed."),
|
|
}
|
|
}
|
|
None => println!("Failed to decode the image and extract text."),
|
|
}
|
|
}
|