#salt #text #hide #hiding #value #hider #unhide

simple_hider

A crate for hiding and unhiding text with a salt value

1 unstable release

Uses old Rust 2015

0.1.0 Jan 7, 2023

#6 in #hiding

MIT license

4KB

hider-rust

Implementation of the hider/cypher algorithm by Jorge Blom in Rust, for educational purposes.

Examples

use simple_hider::{hide, unhide};

let text = "Hello";
let salt = "salt";
let encrypted = hide(salt, text);
let decrypted = unhide(salt, encrypted);

assert_eq!(text, decrypted);

lib.rs:

This is the documentation for the simple_hider library.

Examples

use simple_hider::{hide, unhide};

let text = "Hello";
let salt = "salt";
let encrypted = hide(salt, text);
let decrypted = unhide(salt, encrypted);

assert_eq!(text, decrypted);

No runtime deps