HashLimette

Crates.ioHashLimette
lib.rsHashLimette
version0.1.1
sourcesrc
created_at2023-08-16 14:05:13.862307
updated_at2023-08-16 14:10:45.91777
descriptionpersonal tool for obfuscation of code
homepage
repositoryhttps://github.com/137-Trimethylxanthin/HashLimette
max_upload_size
id945927
size11,978
Methyltheobromin (137-Trimethylxanthin)

documentation

README

HashLimette

was a:

Simple bad coded Password Hasher in go i wrote. Its my first programm in go but i made the wrong thing. i wantet somthing to store password and show them again but i made idk how a password hasher. i think its really bad coded so feel free to write feedback.

now is:

a cargo package for rust to encrypt your code so if you decompile it no strings will be shown.

if you download the binary to encrypt your strings beforhand.

how to use the binary

the binary can be downloaded via cargo cargo install HashLimette

./hashlimette -e value -k key # encrypt , key is optional
./hashlimette -d value -k key # decrypt, key is optional
./hashlimette -bd value # base64 decode
./hashlimette -be value # base64 encode
./hashlimette -h # help

use the binary to first encrypt your strings and then in your code decrypt them with the function decrypt().

how to use it in your code

first of all you need your dependencies: cargo add HashLimette

[dependencies]
hashlimette = "0.1.0"

then you can use it like this:

use hashlimette::decrypt;
const key: &str = "your key"; // if you dont use a key in the binary you dont need to use one here the default key wil be used
fn main() {
    let encrypted = "your encrypted string";
    let decrypted = decrypt(encrypted, Some(key)));
    println!("{}", decrypted);

    // if no key is used:
    let decrypted = decrypt(encrypted, None);
}
Commit count: 15

cargo fmt