OK Vasanth,
Start Here
As you'll see, DES is still considered for all practical purposes uncrackable, especially in triple-des form.
OK Vasanth,
Start Here
As you'll see, DES is still considered for all practical purposes uncrackable, especially in triple-des form.
Visit entropysink.com - It's what your PC is made for!
The most secure encription is quantum encription, not only is it impossible to break, but it is also impossible to intercept a message without the reciever and sender knowing. I would explain but I woudnt do a very good job, just search for it on google or something...
Gr3g
PS-- Remember with most codes you have to use a key to decrypt. How will you transfer a key securely? For a cyper to be good it cannot depend only on the algorithm (especaily for a distributed program), but should depend on a secure passcode/word. Think of this Anne wants to send a message to Bob so she stcks her message in a metal box locks the box and mails it to Bob. Bob installs his own lock on the box. Then mails the box back to Anne. Anne removes her lock and mails the box back to Bob. Bob removes his lock and reads the message.
Last edited by Gr3g; 04-17-2002 at 03:19 PM.
Chance favors the prepared mind.
Vis. C++ 6.0
most secure? One time pad encryption is absolutely secure. No futuristic quantum computer, no matter how powerful, can break it.
Ok guys thank you.. I am looking at the site addres you have given me it is just great.... I will post back after going through all these sites
Thanx
The DES encryption intrests me.. Can it be easily be implemented in c++ .. Well how do i get the hex values pf letters in c++ first..
My very first ever post on this board has the start of my DES C++ implementation attached
Bad news is, I haven't got much further
Oh well
Visit entropysink.com - It's what your PC is made for!
Don't you guys own PGP? lol
Gr3g brought up the interesting problem, but all that has been solved by Public Key encryption.
Let me run the basics of Public-Key for everybody. A person has two "keys". One is public, that you hand out to everbody, and one is private that you keep to yourself and rarely ever see. The public key is to encrypt data and the private key is to decrypt data. So let me run over Gr3g's scenario with public key:
Anne wants to send a message to Bob so she types her message and encrypts it with Bob's public key. Bob receives the encrypted message and decrypts it with his private key. Bob types up a new message and encrypts it with Anne's public key and sends it out. Anne gets the message and decrypts it with her private key.
Public keys and private keys are related but asymmetric. It is (almost) impossible to find out one key from the other.
// Well how do i get the hex values pf letters in c++ first..
Look up in the standard <iomanip> lib for the hex stream manipulator. I have never really used it much. I know you can send hex values of variables to ostream's but I'm not sure if you can actually attain the hex values into variables.
Good luck with the encrypting.
PS: I wrote an XOR^ encryption program (one time pad) and what I did was let the user enter a password that was however long. If the password wasn't long enough, I would just create a new string with the password repeating over and over again. If the password was too long, I just used as much as I needed. It was interesting and it worked.
Last edited by biosx; 04-18-2002 at 04:32 PM.
Ok thanx.. But my program does not have an explanation on how to use this header.. can u help.
Uhh, the file iomanip.h may be on your computer somewhere...Originally posted by vasanth
Ok thanx.. But my program does not have an explanation on how to use this header.. can u help.
Compilers:
GCC on Red Hat 8.1 (Primary)
GCC on Mac OS X 10.2.4 (Secondary)
Others:
MinGW on XP
Quantum encription is here today it is the best and it will always be unbreakable.
Greg
ps Did you know that Russian one time pads were broken by american code breakers because the russians would print multiple copys of some of the pads.
Chance favors the prepared mind.
Vis. C++ 6.0
I actually did know that. Any form of encryption is only secure as long as it is used intelligently. Quantum encryption can also be cracked if a mistake is made.
Have you read about quantum encription? It really is impossible to break.
Gr3g
Chance favors the prepared mind.
Vis. C++ 6.0