Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
a first chance exception of type 'system.indexoutofrangeeception' occured in imagecryptography.exe
that will come in decryption process

What I have tried:

p=3
q=11
n=33
e=7
d=3
error comes in decryption
Posted
Comments
Wendelius 4-May-18 13:32pm    
Use the Improve question link to edit your question and add relevant code parts. Otherwise it's impossible even to guess what the reason might be
Richard MacCutchan 5-May-18 4:17am    
You have an invalid array index value.
Member 13812004 5-May-18 7:53am    
how can I find the correct values?
Richard MacCutchan 5-May-18 8:09am    
By using the debugger to trap the exception. You can then inspect all vaiables to see which one is wrong, and why.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900