public static string decrypt_message(long private_key, long remote_shared_key, string message)
 {
     RSA rsa = new RSA();
     rsa.setPrivateKey((ulong)private_key, (ulong)remote_shared_key);
     return rsa.decrypt(message);
 }
        public void setPrivateKeyTest()
        {
            RSA target = new RSA();
            target.setPrivateKey(13, 10);

            ulong exponentActual = 0;
            ulong modulusActual = 0;
            target.getPrivateKey(ref exponentActual, ref modulusActual);

            ulong exponentExpected = 3;
            ulong modulusExpected = 10;
            Assert.AreEqual(exponentExpected, exponentActual);
            Assert.AreEqual(modulusExpected, modulusActual);
        }