Crates.io | hashkitten |
lib.rs | hashkitten |
version | 1.0.1 |
source | src |
created_at | 2024-11-11 02:50:33.204408 |
updated_at | 2024-12-05 01:02:06.394206 |
description | A purrfect hashing companion |
homepage | |
repository | https://github.com/diogogomesaraujo/hash_kitten |
max_upload_size | |
id | 1443403 |
size | 27,180 |
hashkitten
is a fun command-line tool for hashing text and files that I built to learn Rust.
hashkitten
is your purrfect hashing companion, built with Rust for fast, secure, and delightful hashing of text and files. With hashkitten
, you can hash strings or files and compare hashes with a playful touch.
Clone the repository:
git clone https://github.com/username/hashkitten.git
cd hashkitten
Build the project using Cargo:
cargo build --release
Install the compiled binary to a directory in your $PATH
(e.g., /usr/local/bin
):
sudo install -m 755 target/release/hashkitten /usr/local/bin/
Now you can use hashkitten
as a command anywhere in your terminal.
Clone the repository:
git clone https://github.com/username/hashkitten.git
cd hashkitten
Build the project using Cargo:
cargo build --release
Install the compiled binary to a directory in your $PATH
(e.g., /usr/local/bin
):
sudo install -m 755 target/release/hashkitten /usr/local/bin/
For Apple Silicon, make sure you have the appropriate toolchain installed:
rustup target add aarch64-apple-darwin
Now you can use hashkitten
as a command anywhere in your terminal.
Clone the repository:
git clone https://github.com/username/hashkitten.git
cd hashkitten
Build the project using Cargo:
cargo build --release
Add the compiled binary to your system PATH
:
target\release\hashkitten.exe
.hashkitten.exe
.PATH
variable to include the path to the binary.Now you can use hashkitten
as a command anywhere in your terminal.
Run hashkitten
from the command line with various flags:
hashkitten [FLAGS] ["TEXT"]
Display help message:
hashkitten -h
Hash a text string:
hashkitten "Hello, world!"
Hash the contents of a file:
hashkitten -f input.txt
Compare a message with a given hash:
hashkitten -c "Hello, world!" HASH
-h
| --help
: Display the help message.-f FILE
| --file FILE
: Hash the contents of the specified file.-c "MESSAGE" HASH
| --compare "MESSAGE" HASH
: Compare the provided message with a given hash.Hashkitten is a playful tool that uses the robust SHA-256 hashing algorithm to generate secure hashes for your text or file content. But that's not all — hashkitten
adds a fun twist by converting the hash into a unique, purr-inspired style using a custom mapping system. 🐾✨
Love what hashkitten
does? Show your support with a ⭐️ and help us make it even better! Got ideas or suggestions? Feel free to open an issue—we'd love to hear from you. Let’s keep those tails wagging! 🐱💻
This project is licensed under the MIT License - see the LICENSE file for details.