A time stamp-based elliptic curve cryptosystem for wireless ad-hoc sensor networks