Re: Q: How to test new hash algorithm?
- From: Sebastian Gottschalk <seppi@xxxxxxxxx>
- Date: Fri, 27 Jan 2006 13:59:02 +0100
Martin Hvidberg wrote:
> I just made a Hash algorithm, because I needed one.
> It makes a N digit hex number from a text string.
You'd better describe it as ASCII-Text -> {0,1}* -> {0,1}^n -> Hex digit
string.
> How do I test the quality of the algorithm?
Simple.
1. Is it an existenting etablished one?
Yes -> OK, just take it
No -> goto 2
2. Are you a professional cryptographer?
Yes -> you should already know how to test it
No -> we don't need another "I believe it' secure"-design from an
amateur
> Is there a 'standard' set of tekst strings that I can feed it?
You shouldn't get beyond #2.
> I guess the output should be close to a normal destribution, is that
> correct?
And that's why you've failed with #2. If your output significantly
differs from a uniform distribution, then your hash is worthless.
.
- Follow-Ups:
- Re: Q: How to test new hash algorithm?
- From: Martin Hvidberg
- Re: Q: How to test new hash algorithm?
- References:
- Q: How to test new hash algorithm?
- From: Martin Hvidberg
- Q: How to test new hash algorithm?
- Prev by Date: Q: How to test new hash algorithm?
- Next by Date: Re: Q: How to test new hash algorithm?
- Previous by thread: Q: How to test new hash algorithm?
- Next by thread: Re: Q: How to test new hash algorithm?
- Index(es):
Relevant Pages
|
|