0

```
private void decrypt_Click(object sender, EventArgs e)
{
v = Convert.ToDouble (txtencrypt.Text);
t = Math.Pow(v, d);
msg = Convert.ToInt16(Math.Pow(v,d) % Convert.ToDouble(n));
txtdecrypt.Text = Convert.ToString(msg);
}
This is the code im doing for decryption in rsa algorithm but i got a problem in power operation.
For a small power value,the power operation performed well but when im using highest value as a power i got exponential value as a output.
```