| Crates.io | angry-purple-tiger |
| lib.rs | angry-purple-tiger |
| version | 1.0.0 |
| created_at | 2021-03-23 14:11:26.927813+00 |
| updated_at | 2023-01-12 00:56:24.125466+00 |
| description | animal-based hash digests for humans |
| homepage | |
| repository | https://github.com/helium/angry-purple-tiger-rs |
| max_upload_size | |
| id | 372587 |
| size | 38,181 |
animal-based hash digests for humans.. in rust
Angry Purple Tiger generates animal-based hash diegests meant to be memorable and human-readable. Angry Purple Tiger is apt for anthropomorphizing project names, crypto addresses, UUIDs, or any complex string of characters that needs to be displayed in a user interface.
use angry_purple_tiger::AnimalName;
let address = "112CuoXo7WCcp6GGwDNBo6H5nKXGH45UNJ39iEefdv2mwmnwdFt8";
let animal_name = address.parse::<AnimalName>().expect("animal name");
assert_eq!(animal_name, "feisty-glass-dalmatian")
$ cargo build --release
$ target/release/angry_purple_tiger 112CuoXo7WCcp6GGwDNBo6H5nKXGH45UNJ39iEefdv2mwmnwdFt8
feisty-glass-dalmatian