Replace XTEA class with two functions that operate on buffers, not on
NetworkMessages.
Replace the RSA class with a function.