Re: Secure hash function and AES
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: 22 Nov 2006 17:01:40 GMT
"Zarathustra" <lormayna@xxxxxxxxx> writes:
Hello everybody,
I need a secure, but easy to calculate hash function for wireless
sensor network. I may using AES128 and a random number generator. My
idea to valuate H(x) is :
- initialize the random generator with x and generate a number r;
-Calculate x XOR r;
-Encrypt x with key x XOR r.
Do you think this will be secure? It's easy to find some flaws or some
collisions?
Why are you trying to reinvent the wheel? Just use a standard hash
function. Anything you invent may well have weaknesses upon detailed study.
It will never get that study except by your enemy who is unlikely to tell
you about the weaknesses. A well known hash on the other hand has been
studied by lots of people who have made their studies public.
But for you study seems to be 5 min of someones time responding to your
usenet post.
All hashes have collisions. Otherwise it is an encryption.
Thank you everybody
LORENZO
.
- References:
- Secure hash function and AES
- From: Zarathustra
- Secure hash function and AES
- Prev by Date: Re: Secure hash function and AES
- Next by Date: Re: Help required - Cryptography career
- Previous by thread: Re: Secure hash function and AES
- Next by thread: Re: Secure hash function and AES
- Index(es):
Relevant Pages
|
|