RSA algorithm c# implementation