Your brute force code makes no sense to me, because I don't know the RSA encryption algorithm, and can't make heads or tails out of your code.
When you brute force something, you work through the...
Type: Posts; User: Adak
Your brute force code makes no sense to me, because I don't know the RSA encryption algorithm, and can't make heads or tails out of your code.
When you brute force something, you work through the...
But you're not doing that problem, any more!
Use if((strcmp(string1, string2)) == 0), to see if your trial text, matches a word (which I would read into a 2D char array, and not read from a file...
There's almost nothing here, in the decrypt portion:
printf("\n\nEnter encrypted message to decrpyt :\n");
for(i=0;i<strlen(m);i++)
scanf("%d",&C[i]);
printf("\n\nDecrypted...