Text this: Security in Ad-hoc and Sensor Networks