yeah, but you use a useful hash-algo, do you????
i don't have a sha1 or md5 module for perl -- thus i need
to use my own (bad) hash....
do you know where to get hash-perlmodules from?
Michael Rogers (Mon, Apr 30, 2001 at 04:49:39AM +0100):
> On Sun, Apr 29, 2001 at 04:12:32PM +0200, [EMAIL PROTECTED] wrote:
> > well, i use 12 bit now. and even before fortunes2 is
> > scanned completely, i have 26255 words distributed over
> > 3876 hashes (i need 4096 -- 12 bit)
>
> I hacked together this Java program to hash the words in
> /usr/share/dict/words. On my system there are words for all
> 12-bit hashes, even after filtering out proper nouns. Most
> hashes seem to offer several choices (906 only offers one).
>
> The program takes one argument, a number between 0 and 4095,
> and prints a list of words that hash to that number. Eg 1023:
>
> binary
> conduciveness
> descendent
> embarked
> incongruity
> neighborly
> potash
> sensory
--
moritz
..-. --- .-. - ..- -. .
Practically perfect people never permit
sentiment to muddle their thinking.
-- Mary Poppins
_______________________________________________
freenet-tech mailing list
[EMAIL PROTECTED]
http://lists.freenetproject.org/mailman/listinfo/tech