>do you know where to get hash-perlmodules from? 'Fraid not. But the hash function for Java strings is pretty simple: "s[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1] using int arithmetic, where s[i] is the ith character of the string, n is the length of the string, and ^ indicates exponentiation. (The hash value of the empty string is zero.)" Michael _______________________________________________ freenet-tech mailing list [EMAIL PROTECTED] http://lists.freenetproject.org/mailman/listinfo/tech
- [freenet-tech] Secure readable keys Michael Rogers
- Re: [freenet-tech] Secure readable keys moritz
- Re: [freenet-tech] Secure readable keys Michael Rogers
- Re: [freenet-tech] Secure readable keys Mike Schiraldi
- Re: [freenet-tech] Secure readable keys moritz
- Re: [freenet-tech] Secure readable keys moritz
- Re: [freenet-tech] Secure readable keys Michael Rogers
- Re: [freenet-tech] Secure readable keys moritz
- Re: [freenet-tech] Secure readable keys Michael ROGERS
- Re: [freenet-tech] Secure readable keys Tavin Cole
