Encryption Maniac

This is a discussion on Encryption Maniac within the C++ Programming forums, part of the General Programming Boards category; OK Vasanth, Start Here As you'll see, DES is still considered for all practical purposes uncrackable, especially in triple-des form....

  1. #16
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    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!

  2. #17
    Registered User
    Join Date
    Mar 2002
    Posts
    27

    most secure

    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 04:19 PM.
    Chance favors the prepared mind.

    Vis. C++ 6.0

  3. #18
    unregistered
    Guest
    most secure? One time pad encryption is absolutely secure. No futuristic quantum computer, no matter how powerful, can break it.

  4. #19
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    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

  5. #20
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    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..

  6. #21
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    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!

  7. #22
    Registered User biosx's Avatar
    Join Date
    Aug 2001
    Posts
    230
    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 05:32 PM.

  8. #23
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Ok thanx.. But my program does not have an explanation on how to use this header.. can u help.

  9. #24
    Rebooted Inquirer's Avatar
    Join Date
    Apr 2002
    Posts
    281
    Originally posted by vasanth
    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...
    Compilers:
    GCC on Red Hat 8.1 (Primary)
    GCC on Mac OS X 10.2.4 (Secondary)

    Others:
    MinGW on XP

  10. #25
    Registered User
    Join Date
    Mar 2002
    Posts
    27

    quantum encription

    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

  11. #26
    Registered User
    Join Date
    Apr 2002
    Posts
    200
    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.

  12. #27
    Registered User
    Join Date
    Mar 2002
    Posts
    27
    Have you read about quantum encription? It really is impossible to break.

    Gr3g
    Chance favors the prepared mind.

    Vis. C++ 6.0

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 11-23-2007, 01:48 PM
  2. help needed with edit control & encryption
    By willc0de4food in forum Windows Programming
    Replies: 2
    Last Post: 03-16-2006, 08:21 PM
  3. abt encryption algorithm
    By purIn in forum C Programming
    Replies: 9
    Last Post: 12-22-2003, 10:16 PM
  4. What's wrong with my Stream Cipher Encryption?
    By Davros in forum C++ Programming
    Replies: 3
    Last Post: 04-18-2002, 10:51 PM
  5. File Encryption & Read/Write in Binary Mode
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 11-30-2001, 06:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21