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

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.

I was just curious if the aproach I had in mind was hopeless or not, and wondered how to test that.

The output distribution depends on the input distribution, so the
question does not immediately make sense. But waving hands, most
"not-specially-chosen" input distributions get taken to a uniform
distribution by the standard cryptographic hash functions.

That makes sence... I guess an optimal hash would change all allong the output string (or change all the digits) if you change just a singel char in the input.

I have inplmented the 'hash function' I had in mind and it works perfect to meet my needs - Thanks for the feed back

:-) Martin

------8<-------------
A: Because they make things impossible to read.
Q: Why?
A: Top postings.
Q: What is most annoying in NGs?
.

## Relevant Pages

• Re: How should/could I combine CRCs?
... and avoidable computations. ... You are just arguing that hash functions are even ... It is _possible_ that by dismissing the need for cryptographic strength, ... Then if I tell that there are cryptographic hash functions that are ...
(comp.compression)
• Re: cryptographic hash functions versus non-cryptographic hash functions
... functions versus non-cryptographic hash functions. ... that the cryptographic hash functions are hash functions that are used ... What does one mean by "small" probability depends on whether we are ...
(sci.crypt)
• Re: statistical randomness of hash function
... I have a query about cryptographic hash functions SHA1/MD5. ... Either write or download programs for SHA1 and MD5. ...
(sci.crypt)
• Re: Q: How to test new hash algorithm?
... What properties do you want from your hash function that standard ... idea to design your own hash functions. ... The output distribution depends on the input distribution, ... distribution by the standard cryptographic hash functions. ...
(sci.crypt)