0.1.0 • Published 1 year ago

human-prp v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

human-prp

human-prp is a library that uses pseudorandom permutations to generate human-friendly IDs.

Specifically, it uses a dynamic-size balanced Feistel network based on a non-cryptographic hash function to select words from an included word list.

I want to stress the word non-cryptographic above! The current implementation uses a bog-standard Fibonacci hash to match the postgres extension that it is based on.

Building

Prerequsites for building the WASM:

  • clang
  • lld
0.1.0

1 year ago