template'd RSA encrypt,decrypt, and message.