Click here to Skip to main content
14,490,063 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hey all,

I want information about encryption and decrytion of a file in C language? It's urgent i have to do a project on it..plzz help me out.... :confused:
Updated 16-Feb-11 1:30am
#realJSOP 16-Feb-11 7:30am
If it's "urgent", why didn't you google for the solution?
Member 7678265 16-Feb-11 7:36am
I searched, but i'm not getting the appropriate information. Can you please suggest me a site?
[Edit: Removed text speak.]
fjdiewornncalwe 17-Feb-11 8:37am
Can you PLEASE stop with the text speak?
Manfred Rudolf Bihy 18-Feb-11 7:30am
Stop screaming Marcus. You're starting to upset yourself :-)
Rate this:
Please Sign up or sign in to vote.

Solution 1

FFS, what didn't you understand about "use google"?

If you google "c encryption example", you'll get almost 12 MILLION results back. Here's one of them:[^]

If you're going to be a programmer, you'd better learn how to use the resources at hand to figure out how to do things.
Manfred Rudolf Bihy 16-Feb-11 8:01am
Even if you type encrytpion? Gotta try that right now :)
fjdiewornncalwe 17-Feb-11 8:38am
+5. Googlicious.
Rate this:
Please Sign up or sign in to vote.

Solution 2

I googled encrypt file C typed as three words separated by two spaces. There were about 2.9 million hits and the second one led me to this little gem on MSDN:[^].

Finding that was easy.
You couldn't find it.
I don't expect that the code sample will help you in any way.

fjdiewornncalwe 17-Feb-11 8:38am
+5 for the same reason as I put on John's answer.

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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100