hello sir:
i need any encryption algorithm source code in c++
which encrypt & decrypt data...
any simple algorithm with name...
i want to run & check...
plz...
i shall be thank ful 2 u...
HAMZA!
hello sir:
i need any encryption algorithm source code in c++
which encrypt & decrypt data...
any simple algorithm with name...
i want to run & check...
plz...
i shall be thank ful 2 u...
HAMZA!
What is the purpose of this encryption?
Also, please read the homework policy.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
actually there is no purpose...
m trying to watch how it works in c++
that y...
i need any type of simple encryption algo.....
c++
Anything more advanced you will have to be more specific and show us what you have already tried.Code:char Encrypt(char Data){ return Data+1; } char Decrypt(char Data){ return Data-1; }
u people really disapointed me...
actualy m new user of this forum..
today i joi it first time...
m from pakistan....
& i really hurt....
i never got my ans my source code...
anyhow....
thank u very much.....
TC..
If the above posts have "disappointed" you, then you have also probably disappointed those who have tried to help you. When you post, write intelligent, coherent, grammatically correct, and complete sentences and words. If you cant do all of those, then do at least one (it appears you havent done any of those). No one is trying to "hurt" you, and you shouldnt be taking anything on here personal.
Nothing in this world comes easy (let alone easy and free). If you want help, you have to work for it. That is, you have to put at least some effort into describing what you are asking and require.
Did you look at the above link that was posted earlier? If not then do so, and there should be at least a few examples that satisfy youre requirements. If you cant find any, then do a simple search yourself. If its the actual terms/keywords that you arent sure about, then we can help you if you describe what the problem is.
The algorithm described above is an example of encryption/decryption, even if its trivial.
If you are unwilling to take the time to explain exactly what you need, then its unlikely you will understand any non-trivial algorithm given to you.
Not to mention the fact that now that you have stated that you are from Pakistan, noone here (from the US) can help you with out violating federal laws prohibiting export of munitions. Strong encryption is considered a munition in the US. 5 years, $50,000 fine.
Try this on for size as this can easily be implement in code.
Scytale - Wikipedia, the free encyclopedia
There are earlier roman encryption techniques as well that can easily be put to code. Certain SSL encryption techniques are protected I am sure that even if you had such source code getting to decipher it is another matter. So more details on what you are really after is needed to guide you in the right direction.
My suggestion would be to implement TEA. It's extremely simple and effective.
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"
Most of the strong encryption stuff is top secret and not available to the general public. A simple Google will turn up lots of answers for research on the topic. However since these encryption techniques are public the decryption techniques are also public. As I stated most of the high-tech encryption algos are a closely guarded secret and for good reason and we couldn't give them to you if we wanted to b/c we don't know them. Those who do are probably bound by security clearances and couldn't give out the information and wouldn't give out the information if their life depended on it.Strong encryption is considered a munition in the US. 5 years, $50,000 fine.
All encryption is doing is taking one representation of data, either human readable or machine readable, and converting it into a representation that is not easily human or machine readable without first being decrypted.
Last edited by VirtualAce; 12-12-2009 at 01:15 AM.
If you just want to see how it works and run Linux you can look at the library source for OpenSSL. This is a common and well supported encryption method...and should be exportable everywhere IIRC...
Jeff