Slashdot Mirror


Code for Unbreakable Quantum Encryption

An anonymous reader writes "ITO is running a story on NIST's latest quantum encryption key generation. From the article: 'Raw code for "unbreakable" quantum encryption has been generated at record speed over optical fiber at NIST. The work is a step toward using conventional high-speed networks such as broadband Internet and local-area networks to transmit ultra-secure video for applications such as surveillance.'"

34 of 210 comments (clear)

  1. Great, no more supervision by JPribe · · Score: 4, Funny
    Compressed video has been encrypted, transmitted and decrypted at a rate of 30 frames per second, sufficient for smooth streaming images, in Web-quality resolution, 320 by 240 pixels per frame.
    Neat, now those cameras around the country can't get watched by anyone with a net connection anymore. What will I do with my saturday nights?
    --

    Why go fast when you can go anywhere? O|||||||O
    1. Re:Great, no more supervision by JPribe · · Score: 2, Funny

      Been there, done that, got the bugs to prove it ;)

      --

      Why go fast when you can go anywhere? O|||||||O
  2. Hold on just a sec... by StevenHenderson · · Score: 5, Funny
    'Raw code for "unbreakable" quantum encryption has been generated...

    Let's see what DVD Jon has to say about this first...

    1. Re:Hold on just a sec... by Anonymous Coward · · Score: 2, Interesting

      If you think it is just a question of time that someone will crack it, you have no idea about quantum mechanics. The basic rule is that any measurement of some observable will change it's state, thus garanteeing that any interception of the key is detected. You can tell whether the transmission was 100% secure. There is no way around it.

    2. Re:Hold on just a sec... by Anonymous Coward · · Score: 2, Informative

      Well, if you use one time pads, they are unbreakable (if they are generated using a truly random feed). The problem is getting the to the destination securely. If you use quantum encryption to transmit the one time pads, you can detect wether one has been intercepted or not. If it has, discard it, if it hasn't keep it and use it.

      Google for one time encryption pads to get a better idea of how they work.

    3. Re:Hold on just a sec... by shawn(at)fsu · · Score: 2, Interesting

      Isn't this then 2 seperate issues? One is intercepting the signal the other is decrypting it. Back in WWII with Enimga intercepting the message was easy decrypting it was not. In the case pof Ultra they had decrypted it but they didn't want to let the Germans know they could. So like I asked are there two seperate issues at play here?

      --
      500 dollar reward for tip(s) leading to the arrest of the person(s) who stole my sig.
    4. Re:Hold on just a sec... by Grotus · · Score: 2, Informative

      Yes, it is two separate issues, but they work together.

      You use the quantum technique to transmit the key and are sure no one intercepted it. You then use that key which no one else knows as a one time pad to encrypt your data. One time pads are mathematically proven to be unbreakable.

      --
      "From my cold, dead hands you damn, dirty apes!" - CH
    5. Re:Hold on just a sec... by somersault · · Score: 2, Insightful

      but it's quantum, so you can't really be sure it's secure until it's already been sent.. or something

      But seriously, what would stop someone intercepting the key, then resending it? If the original transmitter can send the key, and the receiver can receive it, why can't a repeater-station type device in the middle read the key, then send out a new duplicate?

      --
      which is totally what she said
  3. Buzzwords and Challenges. by lordsid · · Score: 2, Insightful

    People really need to quit referring to anything as "unbreakable" or 100% secure. It's never going to happen. Just as making anything idiot proof, they will always build a better idiot. Saying it's unbreakable is just going to challenge someone to do it.

    --
    IMAGE VERIFICATION IS EVIL!
    1. Re:Buzzwords and Challenges. by duranaki · · Score: 2, Insightful

      Well yeah.. that's why they used those "air quotes".

    2. Re:Buzzwords and Challenges. by thePig · · Score: 2, Informative

      Sorry, but this *is* unbreakable.
      This is no logic which can be broken by brute force of amazing insight.
      This is the basic law of physics at work i.e. the quantum state of a pair have information which stays the same even if they are far apart. (I think they are using this one here).
      One changes, the other knows. So somebody peeks to it, they guy knows it has been peeked into.

      So, looks like this is it.

      --
      rajmohan_h@yahoo.com
    3. Re:Buzzwords and Challenges. by vertinox · · Score: 3, Informative

      People really need to quit referring to anything as "unbreakable" or 100% secure.

      Well a one time pad is considered unbreakable if employed correctly.

      However, if you reuse the same pad over again and over again it tends to be easier to break. Maybe that is why they call it a one time pad though...

      --
      "I am the king of the Romans, and am superior to rules of grammar!"
      -Sigismund, Holy Roman Emperor (1368-1437)
  4. Damn more DRM by run4ever79 · · Score: 2, Interesting

    I'd like to think that this would be used for something useful like secure financial transactions or transmission of other personal data, but it is disc ouraging to see that TFA focuses on securing video transmissions.

    --
    Linux : Hotrod :: Windows : Yugo
  5. Roti by Tackhead · · Score: 5, Funny
    When quantum cryptography is outlawed, both outlaws and law-abiding citizens will simultaneously have and lack quantum cryptography!

    This message encrypted with rotsqrt(-1).

  6. Re:I can't pretend to remotely understand, but... by hoggoth · · Score: 2, Funny

    > how is the key shared with the end terminal?

    Come on you Einsteinian caveman! Clearly the sending terminal is quantumly entangled with the receiving terminal, thus providing the key via spooky-action-at-a-distance(tm).

    --
    - For the complete works of Shakespeare: cat /dev/random (may take some time)
  7. Note "unbreakable" is in quotes in the article by Mariner28 · · Score: 2, Interesting
    What makes quantum encryption "unbreakable" is that any attempt tamper with it can be detected. Of course, it doesn't prevent a good old DDos attack!

    My question, however, is this: Once hackers obtain quantum computers themselves to use for cracking quantum codes, will they actually have to run them? After all, it was just proven that a quantum program doesn't even have to run to come up with an answer. That's all we need - a new generation of lazy quantum hackers! What's this world coming to? What happened to good old-fashioned dishonest work?

    --
    "A little misunderstanding? Galileo and the Pope had a little misunderstanding."
    1. Re:Note "unbreakable" is in quotes in the article by MaceyHW · · Score: 5, Informative

      All together now: "this has nothing to do with quantum computing".

      This system exploits quantum mechanics to detect if someone is interecepting and retransmitting the signal. That's why it's called Quantum KEY Distribution. There's nothing "quantum" about the encryption itself. It is also of limited use since it requires an unbroken fiber-optic connection between the two devices.

  8. Change to "near" Unbreakable. by Kenja · · Score: 2, Insightful

    If it can be decrypted its not unbreakable. Unbreakable encryption is easy, just not that usefull if you ever want access to what you encrytped.

    --

    "Have you ever thought about just turning off the TV, sitting down with your kids, and hitting them?"
    1. Re:Change to "near" Unbreakable. by frankie · · Score: 3, Insightful

      QC is unbreakable in the mathematical sense. It's a souped-up OTP, which cannot be broken by an outside party, period. Note the word "outside". You can't install a sniffer on the wire, copy the message and decrypt it later. Aside from effectively infinite key length, with QC your intrusion will be detected in real time.

      Insider attacks (mole, rootkit, spy camera, etc) which occur AFTER reception and decryption do not count, because the encryption method has nothing to do with that.

    2. Re:Change to "near" Unbreakable. by eddeye · · Score: 4, Insightful
      Insider attacks (mole, rootkit, spy camera, etc) which occur AFTER reception and decryption do not count, because the encryption method has nothing to do with that.

      Which is exactly why this is a solution looking for a problem. No one ever breaks modern crypto when it's used correctly. Attacking the periphery of the system is orders of magnitude easier. Your resources are much better spent guarding against insider attacks than buying the next useless whiz-bang crypto device.

      --
      Democracy is two wolves and a sheep voting on lunch.
    3. Re:Change to "near" Unbreakable. by MaceyHW · · Score: 2, Insightful
      QC is unbreakable in the mathematical sense. It's a souped-up OTP, which cannot be broken by an outside party, period.

      It's not "souped-up OTP" it's just regular old OTP with a wrapper that prevents a man-in-the-middle attack. As stated in TFA:
      The NIST quantum key distribution (QKD) system uses single photons, the smallest particles of light, in different orientations to produce a continuous binary code, or "key," for encrypting information.
      This is just a system for transmitting an arbitrary-length string of bits with absolute integrity. This is both non-revolutionary and non-trivial.
  9. Physics 101 by Billosaur · · Score: 2, Insightful
    The NIST quantum key distribution (QKD) system uses single photons, the smallest particles of light...

    Ok, maybe I missed something back when I took QM in college, but photons are the only particle of light, aren't they? They are not the only electromagentic particle, but are the only constituents of the light we see. Or has the universe become even stranger and no one told me?

    --
    GetOuttaMySpace - The Anti-Social Network
  10. Re:I can't pretend to remotely understand, but... by Kenja · · Score: 2, Informative
    http://en.wikipedia.org/wiki/Quantum_cryptography

    Nice bit of text going over the key exchange. Dosn't even involve hurting cats.

    --

    "Have you ever thought about just turning off the TV, sitting down with your kids, and hitting them?"
  11. "unbreakable"? by polv0 · · Score: 2, Insightful

    That's like giving a DEA agent in Columbia a "bulletproof" vest.

  12. from the article by mapkinase · · Score: 2, Insightful
    The rules of quantum mechanics ensure that anyone intercepting the key is detected, thus providing highly secure key exchange.


    What about the noise of some of the photons being lost (absorption)? The system has to be stable against it. Ergo, one can hide herself under the noise threshold.

    PS. It has been 20 years since my quantum mechanics exams.
    --
    I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
  13. Quantum Encryption != Quantum Computing by ClickOnThis · · Score: 4, Informative

    The article is about quantum encryption, not computing. IIRC, quantum encryption employs the quantum characteristics of photons to make it impossible to eavesdrop on a communication without altering it, thus rendering it uncrackable. Whereas quantum computing employs the overlapping of quantum states of systems in order to provide a kind of natural ability to perform "parallel" computations.

    --
    If it weren't for deadlines, nothing would be late.
  14. Re:Principle of quantum cryptography is flawed by vertinox · · Score: 4, Informative

    The idea of quantum cryptography is that you have some form of signal sent both ways that only the receivers can receive, since it can't be tapped in the middle due to detected signal loss and single-atomic-unit transmissions being measured. It's pointless, because anything the actual receiver can do, I can do too, and anything the actual receiver can't do I can't do either.

    Eeeehh... Quantum entaglment encryption isn't that simple.

    Here is a site by Colossalstorage that explains one of the patents involved in it:

    http://colossalstorage.net/entangled.htm

    To give a layman's translation... You take two photons and entagle them and then send them down two fiber optic line of the same length (say 4km) and then a device on each end determines which direction the spin is.

    Since the spin is the same for the particles regardless of how far apart they are (no information being transfered faster than the speed of light) they have a reference of what the other party is seeing.

    Now of course particle spin is random, but the key factor is knowing what the other party is seeing.

    Now, you can use the spin as a one time pad and basically encrypt everything based off this... Or rather changes are you'll need another method of communication such as having the actual encrypted data on another fiber line and knowing the spin of the photon gives you the key to unencrypt it.

    Now if someone spliced the fiber line, you instantly know it has been comprised because data no longer unencrypts because the particle spin changed on observation and chances are unless the eves dropper has the ability to observe particle spin he might not get much useful data either.

    --
    "I am the king of the Romans, and am superior to rules of grammar!"
    -Sigismund, Holy Roman Emperor (1368-1437)
  15. Unbreakable != Useful by oddRaisin · · Score: 2, Interesting

    So the code is unbreakable. It's also highly susceptible to DOS attacks. As soon as someone attempts to view the photons, they disrupt the key, which will disrupt the transmission of information. In the case of surveillance, I would think that this is as least as useful as being able to watch the stream itself.

    1. Re:Unbreakable != Useful by Rumagent · · Score: 2, Insightful

      It could be argued that "susceptible to DOS attacks" is present in all crypto systems, that uses public (or not so public, for that matter) transmission systems - it is trivial to distort a message regardless of whether it is encrypted or not. What you view as a vice, I would characterize as a virtue. Now, at least, you know when Eve is trying to eavesdrop.

  16. Not really. by jd · · Score: 4, Informative
    Quantum Cryptography employs a one-time pad. One-time pads cannot be broken without the pad, because every possible decoded state is equally valid. Breaking cryptography relies on being able to know when you have the right key, but if all keys are equally good, you have no means of knowing. This is made worse by the fact that a true OTP involves a key of equal length to the message. So you not only have no means of knowing which key is correct, you have virtually no hope of sweeping through that part of the keyspace that actually has the right key.


    The one big vulnerability with OTPs is that you've now got to send the key securely. Since it is equal in size to the message and is only valid for one message, it is equally hard to send the key securely as it is to send the message securely. Because the pad is pure randomness, it is possible (using existing methods) to send the pad by public key encryption, as it is non-trivial for someone intercepting the message to know how to decrypt it, as it's hard to know when you've broken the encryption. One piece of randomness looks much like another.


    Generally, though, people take shortcuts. Instead of using a full-sized one-time pad, a much smaller, repeatedly-used pad is used instead, with some form of pseudo-random mangling to churn things up so that it acts in a very similar manner to a one-time pad. This is generally how stream ciphers work.


    Quantum Cryptography - if used sensibly - would involve transmitting a gigantic OTP. Far bigger than the one you need. You then drop all of the bytes that are intercepted. The only bytes used in the pad are the ones the intercepting person does NOT have, so you know the pad is free of holes.


    A "better" solution would be to not transmit the key at all, but somehow exploit photon teleportation to deliver the key in a secure manner. However, if you could do that, you wouldn't need encryption in the first place.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  17. Re:One time pads are... by FhnuZoag · · Score: 2, Insightful

    Well, the point is that your pad can be sent at a time when you have secure communication - such as on an USB drive in face to face contact. Then, you can send the message later at any time without secure communication. It's a method of shifting the moment that messages have to be sent to be a time when you can guarantee security.

  18. Re:Actual transmission? by JesseMcDonald · · Score: 2, Insightful

    The reason you transmit the pad instead of the actual data is that the properties of the system don't prevent evesdropping, they only make it detectable. If you transmitted the actual data over the "secure" stream, someone could still intercept it. You'd know that they intercepted it, but by then it would be too late to do anything about it. However, if you transmit the pad over the secure stream you can know which bits were intercepted prior to encrypting the data and can remove those bits from the pad. NOTE: I see someone already posted something similar after I started posting, but I think this version is a bit easier to understand for someone who isn't used to quantum cryptography.

    --
    "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
  19. Re:Unbreakable ...Encryption MD5? by JeanBaptiste · · Score: 2, Informative

    Its not encryption, but is what is called a hash. Think of it more like a fingerprint of data. If you alter the data then the fingerprint is no longer the same.

    Now a hash is what would be called one-way encryption. That means from the 'encrypted data' there is _no way whatsoever_ to determine what the original data was. What is being discussed in this /. thread is 2 way encryption, meaning you would determine the original data from the encrypted data.

    The md5 hash is useful if you want to verify a password without sending the password itself across the line, you can just compare hashes without fear that someone is going to intercept the password itself. It is been proven that 2 datasets can produce the same md5 hash (this is known as a collision). This is why you have run into md5 being used in conjunction with passwords. That being said, as it is a one way encryption, md5 would be of no use whatsoever if you were trying to securely transmit a file, it would only be useful for the person on the other end to determine if the file had been altered in-route.

    Hope that helps.

  20. Re:Man in the Middle by barawn · · Score: 2, Interesting

    If Alice and Bob are going to do the key exchange thing, what is to stop Eve from stepping into the middle before it begins. Then Alice actually winds up doing a key exchange with Eve and Eve does a corresponding (but different one) with Alice.

    Keep in mind that Eve's (let's call her Mallory, M) key must be different. A's key is random, and there's no way to forcably regenerate A's states given B's intended reception.

    So instead of sending the OTP you want to use for the message, send more. Let's send three times the amount, in fact. We'll use one third for the message (once it's verified secure), and one third to verify the key. The other third I'll explain in a bit.

    Note that each of those thirds is independent, but if you have one third, you have all thirds. So you send this OTP, and then A establishes communications with B via a different channel. Doesn't have to be secure. Just has to be definitely with B. This includes physically going to B's location (I guess I'm assuming that M can't physically clone and replace B and somehow convince A that M's in B's location...).

    Now, once that's done: so B definitely has a copy of A's OTP. Included in that OTP is one third that won't be used for anything - A uses this in the next OTP transmission to insert keyed states - that is, instead of a completely random string, there are 1s and 0s in places that are determined by the previous OTP. M can't know this - she doesn't have the previous OTP. And she can't recognize anything's wrong until the entire key's transmitted and she does a frequency analysis and realize that it doesn't look entirely random.

    The problem was that she attempted to send the OTP to B without knowing about those positions. So she sent random noise in those locations. So now B knows that M isn't A, and the attack fails.

    The one-third OTP can continue to be used in future exchanges to verify that A is A and B is B.

    That sort of thing could be done with a normal OTP exchange too, I think. The main benefit is the initial exchange, where you know that if your recipient has one third of the key - or really, any part - they, and only they - have the whole thing.

    Which is why 'physically going there' is probably unnecessary. It doesn't matter if someone wiretaps the phone hearing the verification OTP. That doesn't help them at all. The only thing 'physically going there' prevents is a universal man-in-the-middle attack.