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

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

#658 in Cryptography

Download history 119/week @ 2024-11-08 235/week @ 2024-11-15 104/week @ 2024-11-22 180/week @ 2024-11-29 261/week @ 2024-12-06 191/week @ 2024-12-13 55/week @ 2024-12-20 26/week @ 2024-12-27 147/week @ 2025-01-03 123/week @ 2025-01-10 137/week @ 2025-01-17 270/week @ 2025-01-24 249/week @ 2025-01-31 355/week @ 2025-02-07 111/week @ 2025-02-14

812 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.2–8MB
~71K SLoC