attempt to implement cryptography in torquescript