Secure hash function and AES



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?
Thank you everybody
LORENZO

.



Relevant Pages

  • Re: Secure hash function and AES
    ... I need a secure, but easy to calculate hash function for wireless ... sensor network. ... I may using AES128 and a random number generator. ... -Encrypt x with key x XOR r. ...
    (sci.crypt)
  • Re: Safe session IDs
    ... broken by an attacker after getting only two known consecutive outputs. ... Breaking such a function doesn't involve any advanced math and can be ... Some newer linux distributions use an additive generator based on the ... making it unusable for generating secure PRNs. ...
    (SecProg)
  • Minimal crypto OTP by dummie
    ... After reading a little about encryption and OTPs I wondered if there is a ... did they have in WWI LOL) to make a key book. ... Then combine the key with the message using XOR or another ... So, my question is, would it be secure enough for the pre-computer days? ...
    (sci.crypt)
  • URL for Yarrow PRNG
    ... for the Yarrow PRNG. ... > linear congruential generator. ... making it unusable for generating secure PRNs. ... >> Ryan M Harris ...
    (SecProg)
  • Re: and now for something completely different.
    ... cj = Pj xor Kj xor Ci ... which is, as Kristian pointed-out, is an ordinary stream cipher. ... if K_j is a secure key stream, ...
    (sci.crypt)