REPOST: Re: Q: How to test new hash algorithm?

Martin Hvidberg wrote:
Kristian Gjøsteen wrote:
What properties do you want from your hash function that standard
cryptographic hash functions do not provide?

None other that I need it to be running in a programming language called Avenue, this means I have to write one myself since none are included. I just need to check if two larger strings are identical, without actually sending the long stings off to the other end.
It should not be anything fancy, and quick to impliment.

If you don't need cryptographic strength, that is, no one is manipulating the strings to produce a hash collision, I recommend FNV hash as requiring the least code to implement.

--Mike Amling

========= WAS CANCELLED BY =======:
From: Mike Amling <nospam@xxxxxxxxxx>
Control: cancel <wRQCf.1539$Ql1.1504@xxxxxxxxxxxxxxxxx>
Subject: Cancel "Re: Q: How to test new hash algorithm?"
Newsgroups: sci.crypt
Message-ID: <xILBb.3106$Or4.6783@xxxxxxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Microsoft Outlook Express Macintosh Edition - 8.0 (6387)
Lines: 2
Date: Sun, 29 Jan 2006 17:59:12 GMT
X-Complaints-To: abuse@xxxxxxx
X-Trace: fed1read05 1138562983 (Sun, 29 Jan 2006 14:29:43 EST)
NNTP-Posting-Date: Sun, 29 Jan 2006 14:29:43 EST
Organization: Cox Communications

Relevant Pages

  • The certification password of Internet Explorer 7 and operation of auto complete
    ... About the certification password of Internet Explorer and operation ... By remembering the strings that are input in the following text ... In this registry, there are values whose name is a string of 42 bytes ... We cannot guess the original strings from the hash value, ...
  • Re: Maximum String size in Java?
    ... > for long strings, so on average, SFH bakes it in the performance ... >> distribution over the hash table size. ... > you need to be concerned about Unicode strings. ... construct a hash function that does appreciably better than the one ...
  • Re: sort unique
    ... given that a hash table is not ... IMO if the vendor's algorithm does something "obvious", ... function to eliminate keys that hash to the same bucket per some ... strings of random lengths, and two strings are ...
  • Re: Maximum String size in Java?
    ... The hash function will *NOT* have the minimal collision ... > for long strings, so on average, SFH bakes it in the performance ...
  • Re: Performance of hash_set vs. Java
    ... > I would like to convert the vector to store pointers to strings, ... >> reading code and hash table, so we can't really help there. ... and involve many object copies an memory allocations. ... This is the C++ input code I would start with. ...