sorry. i could nt figure out the poblem. i was debugging for long time and im vexed. i am getting awkward values in debugging. just i want this encryption logic common for strings,numbers and special...
Type: Posts; User: sankarv
sorry. i could nt figure out the poblem. i was debugging for long time and im vexed. i am getting awkward values in debugging. just i want this encryption logic common for strings,numbers and special...
Hi. I done file encryption with the help of the code u gave .
#include <stdio.h>
#include<stdlib.h>
int iPower ( int n, int p ) {
int result = 1, i = p;
while ( i-- ) result *= n;
Thankx a lot. just want to know one thing.
why u added '-a' in encrypt() function and +'a' in decrypt() function for encrypting strings?
i corrected that and no error is coming but even then its not working . may be the problem with big numbers.
could anyone please suggest me antoher type of encryption which can be done without the libraries? basic XOR encryption i already done. other than that.
pls help...
Its returning error as "invalid operands to binary %". What may be the reason for this?
Anyway i will try with big num tools as u said...
Thanks for the help.
what i actually need is the c code for rsa algorithm. May be its of any of these examples in this topic....
pls help....
Then wat can we use for XOR and whats the code for implementing this?
pls help...
The encryption function is:
Hi Adak. Instead of this i used
Encrypt=(T^3) % 33
pls help
How can we write chess engines in C. Many peoples are writing. What is actually needed for writing them. I mean what to know (C conceepts) before writing them?
Help please.....
Its really surprising.
I am getting this as output.
For me it runs without error but its not producing proper output on decryption.
http://www.di-mgt.com.au/rsa_alg.html#simpleexample
I referred to the above page and here is my code:
please notify whats actually wrong in this code.
#include <stdio.h>...
I have done XOR encryption in C. Its working fine. Now i need to dohigher encryption standards such as RSA. How can i do that. I tried but its failing. Please help.
Note: I have posted my code...
What are function pointers?
Why do we need them?
Hi,
what is actually binary sorting?
How can it be performed in linked lists?