[−][src]Function simplebase::engine::obfuscate_data
pub fn obfuscate_data(data_to_obfuscate: String) -> String
This function returns a String which is obfuscated. It is not encrypted, its main role is for the data to miss being indexed or found in a file search. In 3.0 release this will be fully implimented in the struct as this will be a breaking change.
Examples
use simplebase::engine::*; let mut loaded_database = load_hash_database("test1base.txt"); let a = obfuscate_data("This is a test".to_string()); let b = obfuscate_data(a); assert_eq!("This is a test".to_string(),b);