processing_code

Crates.ioprocessing_code
lib.rsprocessing_code
version0.1.0
sourcesrc
created_at2023-12-31 15:24:34.872951
updated_at2023-12-31 15:24:34.872951
descriptionSimply encode and decode
homepage
repository
max_upload_size
id1084869
size2,299
Kato Suki (KatoM923)

documentation

README

processing_code

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

Example

let password = "Password";
let content = "Content";

let encode = processing_code(password, content);
println!("{}", encode);

let decode = processing_code(password, &encode);
assert_eq!(content, decode);
Commit count: 0

cargo fmt