Crates.io | processing_code |
lib.rs | processing_code |
version | 0.1.0 |
source | src |
created_at | 2023-12-31 15:24:34.872951 |
updated_at | 2023-12-31 15:24:34.872951 |
description | Simply encode and decode |
homepage | |
repository | |
max_upload_size | |
id | 1084869 |
size | 2,299 |
It's a simply crate I wrote for fun
It's used to encode and decode with the password which users give
And it's just use XOR
get a password and content then processing the content with the password
let password = "Password";
let content = "Content";
let encode = processing_code(password, content);
println!("{}", encode);
let decode = processing_code(password, &encode);
assert_eq!(content, decode);