key-to-animal

Crates.iokey-to-animal
lib.rskey-to-animal
version0.0.1
sourcesrc
created_at2024-10-30 12:52:33.308174
updated_at2024-10-30 12:52:33.308174
descriptionDerive a silly animal name from a 32 byte hash or key
homepagehttps://gitlab.com/pegpeg/key-to-animal
repositoryhttps://gitlab.com/pegpeg/key-to-animal
max_upload_size
id1428475
size326,700
peg (ameba23)

documentation

README

Key to animal

Derive a silly animal name from a 32 byte hash or key

let result = key_to_animal::key_to_name(&[
    132, 122, 1, 1, 1, 1, 1, 1, 32, 2, 2, 2, 3, 4, 5, 6, 7, 8, 2, 3, 4, 5, 3, 4, 4, 5, 6,
    4, 5, 6, 3, 2,
]);
assert_eq!(result, "greyishLemur".to_string());

The idea is to have a recognisable/memorable name made up of an adjective and the name of an animal.

Commit count: 10

cargo fmt