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

Popular posts from this blog

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -