encrypted-images/examples/encrypt_secure.rs
2024-07-16 17:40:41 -06:00

10 lines
313 B
Rust

use encrypted_images::encryption::text::encrypts;
fn main() {
let plaintext = "This Is Plain Text";
let key = Some("16characterslong");
let strength = Some("advanced");
let encrypted_text = encrypts(plaintext, key, strength).unwrap();
println!("Encrypted text: {}", encrypted_text);
}