Hi, i) 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. ii) Also when I use Random component to generate random numbers as: uint8_t rand= call Random.Rand16(); i always get the same result, ie. random numbers are not been generated. say i get rand=3456 each and every time i run the program. how to solve this issue? Regards, Jisha Mary Jose ......jMj......
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help