Text this: Public key cryptography in resource-constrained WSN