#human-readable #hash #digests #string #tiger #generate

bin+lib angry-purple-tiger

animal-based hash digests for humans

2 releases (1 stable)

1.0.0 Jan 12, 2023
0.1.0 Mar 23, 2021

#632 in Cryptography

Download history 164/week @ 2024-07-20 312/week @ 2024-07-27 165/week @ 2024-08-03 141/week @ 2024-08-10 184/week @ 2024-08-17 248/week @ 2024-08-24 191/week @ 2024-08-31 160/week @ 2024-09-07 157/week @ 2024-09-14 120/week @ 2024-09-21 237/week @ 2024-09-28 162/week @ 2024-10-05 255/week @ 2024-10-12 214/week @ 2024-10-19 194/week @ 2024-10-26 191/week @ 2024-11-02

881 downloads per month

Apache-2.0

18KB
870 lines

angry-purple-tiger

animal-based hash digests for humans.. in rust

Crates.io docs.rs Build Status Discord chat

Overview

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.

Example

use angry_purple_tiger::AnimalName;

let address = "112CuoXo7WCcp6GGwDNBo6H5nKXGH45UNJ39iEefdv2mwmnwdFt8";
let animal_name = address.parse::<AnimalName>().expect("animal name");
assert_eq!(animal_name, "feisty-glass-dalmatian")

Using CLI

$ cargo build --release
$ target/release/angry_purple_tiger 112CuoXo7WCcp6GGwDNBo6H5nKXGH45UNJ39iEefdv2mwmnwdFt8
feisty-glass-dalmatian

Dependencies

~1.3–4MB
~71K SLoC