python: generate 24bit hash -
need genereate 24bit-length hashes strings. after googling, i've fount this: http://code.activestate.com/recipes/164274-fixed-size-cache/ , but, me, bit overcomplex.
there other simple way generate 24 bit hash?
thanks!
does need cryptographically secure? think truncate 1 of hashes hashlib
.
Comments
Post a Comment