Skip to content

Releases: bnlucas/python-basehash

BaseHash - Reversible obfuscated identifier hashes.

13 Jul 06:51
Compare
Choose a tag to compare

BaseHash is a small library for creating reversible obfuscated identifier hashes
to a given base and length. The project is based on the GO library, PseudoCrypt
by Kevin Burns. The library is extendible to use custom alphabets and other
bases.

The library uses golden primes and the Baillie-PSW primality test for hashing
to n length. From testing, I have gotten base62 up to 171 in length.