Crates.io | hash_limette |
lib.rs | hash_limette |
version | 0.1.4 |
source | src |
created_at | 2023-08-16 14:18:07.480652 |
updated_at | 2023-08-16 20:17:31.465898 |
description | personal tool for obfuscation of code |
homepage | |
repository | https://github.com/137-Trimethylxanthin/HashLimette |
max_upload_size | |
id | 945934 |
size | 12,479 |
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.
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.
the binary can be downloaded via cargo cargo install hash_limette
hash_limette -e value -k key # encrypt , key is optional
hash_limette -d value -k key # decrypt, key is optional
hash_limette -bd value # base64 decode
hash_limette -be value # base64 encode
hash_limette -h # help
use the binary to first encrypt your strings and then in your code decrypt them with the function decrypt().
first of all you need your dependencies: cargo add hash_limette
[dependencies]
hash_limette = "0.1.4"
then you can use it like this:
use hash_limette::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);
}