Hi,

I am using TinyOS-2.1.2 and to achieve security techniques i am using
TinyECC-2.0. I want to use the SHA1 available in tinyecc. But,

When i take the hash of a value say,

uint8_t data=123;

I use the three functions of sha given in SHA1.nc namely, SHA1.reset,
SHA1.update and SHA1.digest to obtain the result. But each time i run the
code ie. do "make micaz sim" I get different hash results for the same data.

How to get a unique hash value for each data taken? Please help me...

Regards,

Jisha Mary Jose
......jMj......
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to