2023-10-24 04:54:02 +00:00
|
|
|
use encrypted_images::decryption::text::decrypts;
|
|
|
|
|
|
|
|
|
|
fn main() {
|
2026-04-18 19:40:48 +00:00
|
|
|
let encrypted_text = "VkdocGN5QnBjeUJoSUE9PfWVW6oF5BuJoZd8kJL1WUjpAMl3ViM+6y9MqKKDpi3TXncUNV1BoyQhxXgoFUSOV7E2hJGhPfvtLb1NtrEk4zs=";
|
|
|
|
|
let key = Some("your_secret_key");
|
2023-10-24 04:54:02 +00:00
|
|
|
if let Some(decrypted_text) = decrypts(encrypted_text, key) {
|
|
|
|
|
println!("Decrypted text: {}", decrypted_text);
|
|
|
|
|
} else {
|
|
|
|
|
println!("Decryption failed.");
|
|
|
|
|
}
|
|
|
|
|
}
|