#salt #text #hide #value #hiding #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

Download history 7/week @ 2024-02-22 3/week @ 2024-02-29 6/week @ 2024-03-07 40/week @ 2024-03-14

52 downloads per month

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