Slashdot Mirror


One-Time Pad Encryption With No Pad?

thepooleboy writes: "The Globe and Mail has an article about a Toronto area company that has perfected 'Unbreakable Encryption' using the Vernam Cipher." The idea is to use as a one-time pad a large number generated by equations sent with an initial (proprietary) exchange which takes place when users connect to an equipped server. Since real one-time pads' numbers are by definition random and known in advance to both sender and receiver, though, the company seems to be playing fast-and-loose with their terms.

410 comments

  1. 'unbreakable' encryption by gatekeep · · Score: 1, Insightful

    Anything which can be decrypted is going to be breakable. It may take a good deal of effort, but I don't believe there's any such thing as 'unbreakable' encryption. After all, the data has to be decryptable at some point or it's useless.

    1. Re:'unbreakable' encryption by Just+Some+Guy · · Score: 1, Offtopic

      Shhhh! Don't tell the MPAA, or we'll never be able to watch the next-generation DVD formats on our Unix boxen!

      --
      Dewey, what part of this looks like authorities should be involved?
    2. Re:'unbreakable' encryption by kolding · · Score: 5, Insightful

      Actually, a correctly used one-time pad is unbreakable. The true randomness of the pad cannot be calculated, and if it's never reused, you have no clues as to how to calculate the encryption.

      However, this scheme isn't a one-time pad. It's a function, with parameters encrypted with a standard encryption algorithm. If you break the algorithm used to exchange the parameters, you've broken the whole code. It's certainly no better than anything else out there.

    3. Re:'unbreakable' encryption by the_consumer · · Score: 1

      but I don't believe there's any such thing as 'unbreakable' encryption
      but do you believe in the finite amount of time any message might be useful? Sure, any encryption is theoretically breakable, but you only have one universal lifetime, and that's probably many billions of times longer than the info in the message will be worth decrypting. I could put your milk in a safe, if it took you a month to figure out how to open it, would you still drink it?

      --
      "If you're thinking what I'm thinking, you're right." -
    4. Re:'unbreakable' encryption by AgentRavyn · · Score: 2, Interesting
      Not entirely correct. Quantum encryption is unbreakable in traditional terms -- unless you know which photons are going to be used, and how to set your filter, you cannot crack it. Knowing those things isn't considered breaking the code -- it is on the level of actually having the key for the encryption.



      My 26,740 Turkish Lira,

      ~ravyn

      --
      ___
      I'm an exhibit on the mounted animal nature trail.
    5. Re:'unbreakable' encryption by looseBits · · Score: 1
      Well, the point of failure of this system is the would be cracker getting a hold of the one time pad by monitoring the exchange.

      I don't really see what's so special about this system. People have been using this for years (why else would it be called a pad).

      Maybe I don't understand encryption too well but why can't we just use an irrational number as the key. The numbers have an infinite series of digits and are completely random so you could randomize any arbitrary data. Another beneift is that the key can be calculated and not transmitted as a whole (it takes a lot of bandwidth and time to transmit the value of PI). In addition to all of this, you also have an ininfinate series of irrationals to choose from.

      --
      Lord, bless my users that they may stop being such fucking idiots!!
    6. Re:'unbreakable' encryption by Jack+Porter · · Score: 3, Informative

      Um, no. A one-time-pad is unbreakable. The idea is that you have a purely random set of bits (the one-time-pad) the same length as the data you want to encrypt. If you decrypt it using every possible one-time-pad you just end up with every possible message of the same length. If your message is "Attack at dawn.", with the wrong key you could decrypt it as "Retreat ASAP !!"

      The problems are the "random" bit and distributing the pad from the sender to the recipient.

      These guys appear to have a pseudo-random key generation algorithm, which by defintion isn't random at all.

    7. Re:'unbreakable' encryption by Drakin · · Score: 2, Interesting

      Actually, it is possible to make unbreakable encription. At least in terms of text

      Step 1: Generate a rather lengthy list of non repeating, as random as possible numbers.

      Step 2: take the list and asign the letters of the alphabet in order along the list, (eg numbers in places 1 - 26 are assigned letters A - Z then 27 - 56 A - Z again.. and so on.)

      Step 3: Make a duplicate of said list.

      All communications are done with this code, using the numbers to represent letters, starting from the top, and use the number assigned to the fist instance of the letter, and proceed down the list for each use of the letter. (eg the first a would be the number in place 1, the second a would be the number in place 27)

      As there's no pattren to it, it can't be broken. However, such a thing is so cumbersom to use, plus, there's the factor of how to get the list to the other party... Not a new idea, or even close to my own... read it in a book.

    8. Re:'unbreakable' encryption by Anonymous Coward · · Score: 0

      Great analogy!

      So, with a varying scale of security which is priced based on research and implementation, all an organization has to do is to calculate within, say, a few decades how long a certain piece of information should be kept in near perfect secrecy; from then on, the loss of information theft would be far less devestating, if it happened at all. The cost of encryption, so to speak, could therefore vary, and it could be used as a factor in production and management.

    9. Re:'unbreakable' encryption by spaceyhackerlady · · Score: 2, Informative
      Anything which can be decrypted is going to be breakable.

      Actually, no. A one-time pad really is unbreakable if properly applied. One way of looking at it is that since the one-time pad is random and was not generated by algorithmic means, no algorithm can break it. Crypto folks use different terminology, but the result is the same: unless you compromise the pad itself, no decryption can do better than random chance.

      These results are well established, and any decent text on information theory will fill in the details.

      An interesting side-effect of this came up with some U.S. decrypts of Soviet espionage activity in the 1950s, which were decrypted when agents misused their one-time pads. The authorities didn't take any action, partly because they were concerned about proving in court that the decrypts were accurate...

      ...laura

    10. Re:'unbreakable' encryption by Cheeko · · Score: 3, Interesting

      Actually a one time pad is mathematically proven to be secure. The biggest problem is that a protocol using it is much tougher to find.

      A one time pad is completely random therefor you could take any message, "Bob had a car" and it could decrypt to ANY message of the same length, given the right pad. The biggest problem with a true one-time pad is that as the name implies it can only be used once, and needs to be the same size as the message its encrypting.

      The best practical example of one-time pads is probably the hotline between washington and moscow. The crypto course I took explained that a very very large random one time pad was created to encode the message, and new pads are periodically created and taken by curier to each site. I believe a similar method is also used for transmitting launch codes to Nuke site.

      Then again its been over a year, and my memory of the course is a little fuzzy.

    11. Re:'unbreakable' encryption by MrRudeDude · · Score: 1, Interesting

      You are naive. You really should read David Kahn's Codebreakers book, or at least the first several chapters.

      A one time pad is unbreakable. What this means is that if you have the encrypted message, and all keys are equally likely, there is no information that can possibly be gleaned from it -- all possible un-encrypted messages (of that length) are equally likely. You can hypothesize that the message is "Osama - be sure to wear the black lacy stuff when we meet at four to masturbate while talking about blowing up Americans!" and there is a key which would decode it that way, but there is no reason to believe it any more than any other message.

      The scheme the article suggests is snake oil because not all keys are equally likely (among other faults). You can only have as many keys as there are seeds to this super-duper equation deal. Not to mention that this scheme like all one time pads is only as strong as the system used to distribute keys, which in this case seems to happen over the same channel as the encrypted message.

    12. Re:'unbreakable' encryption by gatekeep · · Score: 1

      It's certainly true that data has a useful life, and that encryption can be considered secure if it takes longer than the useful life to decrypt that information. The thing is, that's dependant on the technology I use to break it. In your safe example, I probably couldn't discover the combination through brute force within the time it takes for the milk to sour, but what if I could try all possible combinations twice as fast? four times as fast? At some point I reach the point where it's useful. Of course, by the time that point comes you might've moved on to a newer model safe. Still, it's a game of cat and mouse. It's no impossible to do, but you raise a valid point that it may be impossible given current technology to break it in a timeframe which makes the end result useful.

    13. Re:'unbreakable' encryption by NorthDude · · Score: 0

      Yep! While I beleive that there is no such thing as unbreakable encryption, the kine lies right were you stated it. It's all a matter of time. So could we say that an effective encryption is one which could not be broken within the "usable lifespan" of the encrypted data itself? If we take into account moore's law and everything, we could have a fairly good mesure for encryption security.

      --


      I'd rather be sailing...
    14. Re:'unbreakable' encryption by ultraw · · Score: 1

      Computers are not good when it comes to floats... :)

      Beside that, if you took a irrational number like PI, anyone knowing it is PI, can calculate the next digits that wil be used. When using a pad, one has to get a copy of the pad (the "book", as they refer to it in the aticle) and a copy of the algorithm used to find the pages in the book... It is a bit harder.

      The only concern is the exchange of the "book". The algorithm may be public available, als long as you are lacking the "book", you don't have anything to start from...

    15. Re:'unbreakable' encryption by Hoo00 · · Score: 1

      That's right. Furthermore, there is a problem with this encryption - key transmission thru' obscurity. From the news article,

      This ... number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information it sends back to the client, and then the key is destroyed and a new one is created. This process is repeated every time information is exchanged between the client and the server, making it virtually impossible for outsiders to decrypt the information.

      Once a hacker is able to intecept the key transmissions above and figures out what this "secure process" is, the game is over.

    16. Re:'unbreakable' encryption by looseBits · · Score: 1

      Well, replace the book with the formula for the irrational number of the day (today we use PI, tommorrow we'll use e/PI) and you have the same system but without the need to use an extremely long pad (the length of the message) or repeating the pad over and over again to encrypt the message.

      --
      Lord, bless my users that they may stop being such fucking idiots!!
    17. Re:'unbreakable' encryption by arkanes · · Score: 2

      What you're describing is an implementation of a one-time pad system. This is slightly different than the ones I know and may not be secure, but it's almost quitting time and I don't feel like looking anything up.

    18. Re:'unbreakable' encryption by cotodoso · · Score: 2, Informative

      No, actually, a true Vernam cipher really is unbreakable. Check out the description of it in Bruce Schneier's "Applied Cryptography". The 'one-time pad' that was mentioned is a string of random numbers as long as the message that you want to send that is XORed with the message. Since XORing is a symmetric process (do it twice and you get back your original message), if you've got the random pad you can decrypt it easily.

      That being said, the process they described in the article is not a Vernam cipher. It sounds like a variation on the Kerberos protocol, where the client and server machines exchange encrypted session keys.

      There are also problems with the design, if you ask me. It looks like they are using the client computer to generate "random" numbers, which is a definite no-no. It also says that the keys are exchanged "through a secure process known only to Prescient". Sorry, but unless they have some sort of review by an independent party that proves it's
      secure, it's an empty claim. Basically, this sounds like a lot of PR-hype that won't hold up to its promises.

      cotodoso

    19. Re:'unbreakable' encryption by anonymous_wombat · · Score: 1

      This would be similar to using a one-way hash function such as SHA-1, and just passing a seed, which could be as small as a few hundred characters of text (or 20 bytes of truly random data). This method would be reasonably secure, as long as huge amounts of information aren't sent without reseeding occasionally. But it is definitely NOT a one-tine pad.

    20. Re:'unbreakable' encryption by Drakin · · Score: 1

      *slaps self on forehead* Of course it is. And i would have realised that and mentioned it had I paid any attention.

      I actually learned about the system in a sci-fi novel I read... and of course, it wasn't called a one time pad system.

      Heh, thanks for pointing it out. Rather be shown to be a fool, rather than cling to knowing something and not knowing the full story.

    21. Re:'unbreakable' encryption by Oculus+Habent · · Score: 1

      I suppose it all comes down to time. Time to start using multi-layer encryption - have three keys (this is a thought for authenticity verification - this document is encrypted/signed by 8 people at the company...) each encrypt over each other...

      Maybe it's been done. I don't follow crypto that closely.

      --
      That what was all this school was for... to teach us how to solve our own problems. -- janeowit
    22. Re:'unbreakable' encryption by Anonymous Coward · · Score: 0
      My 26,740 Turkish Lira

      I kept a $1,000,000TL note from a recent trip to Turkey & got some hottie to show me her hooters in exchange for it. Her decision was instantaneous: "I'll do it for a million anything!". She wasn't too happy afterwards when she found out it was worth ~$0.72US, but nothing could wipe the smile from my face. Allahaismarladik!

    23. Re:'unbreakable' encryption by Hater's+Leaving,+The · · Score: 1

      "
      Step 1: Generate a rather lengthy list of non repeating, as random as possible numbers.
      "

      BZZZT!

      Have you learnt nothing from the Germans and Enigma? If you specify that the numbers mustn't repeat then you've reduced the entropy - you've made the next number more predictable.

      If you want to be random, be random. "AAAA" is just as random as "OGVI" (typed by 4 throws of a rubber ball off the monitor onto the keyboard).

      THL.

      --
      Keeping /. cynic density high since the fscking Kwhores/trolls arrived.
    24. Re:'unbreakable' encryption by mypalmike · · Score: 1

      It's easily proven that in order to generate all possible random strings of bit length n, you'd need to come up with 2^n irrationals. See compression and the counting principle. This fact makes it rather pointless to use this sort of compression, since you'd need just as many bits to represent the chosen irrational as you'd need to just represent the random string. The fewer bits you use to represent your irrational, the more detectable the psudo-rng algorithm.

      --
      There are 0x40000000 types of people: those who understand 32-bit IEEE 754 floating point, and those who don't.
    25. Re:'unbreakable' encryption by Anonymous Coward · · Score: 0

      He meant "non(-)repeating" as in "aperiodic," like in the numeric representation of an irrational number, you dumb twat.

      I hate people who use the condescending "BZZZT!", but the ones who end up with egg on the face make it all worthwhile.

    26. Re:'unbreakable' encryption by monkeydo · · Score: 2

      Please explain how you use a one-way hash to send large amounts of data.
      My understanding of one-way hash functions is they are usefull for comparing information like passwords or digital signatures, but not encryption. If you hash a message and send it to me, I can't un-hash it (because it's a one-way hash) I'd have to guess what the data was and then hash my guess to see if I was right.

      --
      Si vis pacem, para bellum
      The only thing more annoying than a Libertarian is an (un|mis)informed Libertarian
    27. Re:'unbreakable' encryption by gatekeep · · Score: 1

      Actually, that's kind of the idea behind triple des.. your source data is run through three seperate DES keys. While it doesn't incorporate multiple personal keys, it's a similar idea. The only problem I see when using multiple keys which are associated with users is that if one of them were to leave the company their key would typically be revoked, and thus the whole document is no longer decryptable. It's an idea though..

    28. Re:'unbreakable' encryption by Drakin · · Score: 1

      Actually, I ment the same number used in the same list on more than one occasion.

      for example, entry 3753 is "7646543234". That number should not be used again within the list generated.

      Why? because it would render the code untranslateable with sufficent repeats, as the code depends on the numbers being the varible intranslation, not the letters.

      While having such numbers would make things much more secure, due to the repeat being seen as meaning the same thing both times, the speed nessisary to translate properly the code to readable form could rise rapidly, even with use of the key.

    29. Re:'unbreakable' encryption by L-One-L-One · · Score: 1

      YEP, You can encrypt with a hash. Let H be a hash function. Let | denote concatenation and % denote XOR.

      Let K be a secret key, to encrypt a message X=X1,X2,...,Xn you do:
      Y0=(A random value)
      for i=1 to n do Yi=Xi % H(Y0|K|i)

      The encrypted text is Y0,Y1,Y2,...,Yn.

      The decryption is obvious.
      Without getting into details, this method is secure as long as H has a very random.
      behavior.

    30. Re:'unbreakable' encryption by Hater's+Leaving,+The · · Score: 1

      It you're trying to be descriptive, be clear. I don't think it was clear at all. Look at his follow-up - that's even less clear!

      There is no egg.

      THL

      --
      Keeping /. cynic density high since the fscking Kwhores/trolls arrived.
    31. Re:'unbreakable' encryption by matrix29 · · Score: 2

      Anything which can be decrypted is going to be breakable. It may take a good deal of effort, but I don't believe there's any such thing as 'unbreakable' encryption. After all, the data has to be decryptable at some point or it's useless.

      And what about the LIARS POKER method? This was detailed in a Scientific American article from a few years back. The idea is to create a huge randomized key which both senders have (ergo in the Liars poker game, two dollar bills serial numbers). The exchange begins with one side saying, "I believe if you add the digits at locations 567, 9984, and 12355 the resulting number is 13." And so on for a few thousand exchanges. Then the other sender gets the chance to play. Then they use known location data on the other person's computer which hasn't been exchanged yet in the previous inquiries to encrypt their data. The receiver then has only a small keyspace to translate the message back to the original.

      The problems fall back to the need for a physical exchange of data files. That is why trapdoor encryption is just so seductive and ultimately doomed to be openly cracked like an eggshell in the next 12 years. Brute force is getting much easier with every innovation and stifling that is futile.

      --
      "Face it, a nation that maintains a 72% approval rating on George W. Bush is a nation with a very loose grip on reality.
    32. Re:'unbreakable' encryption by technobard · · Score: 1

      This is probably a redundant comment, but all you need is a multi-substitution cipher to have unbreakable encryption. In the 1800's, Thomas Jefferson Beale created the Beale Cipher's using this technique to encrypt the directions to a supposed treasure. He was not the first to do this, but the Beale Cipher's are probably the most popular example. Typically you would use an historic document as the key. You'd start numbering from the first letter onward including spaces. Each "A" would have multiple numbers to choose from as a substitute, as would each space, etc. To encrypt a document, you simply use any of the available substitutes for the letter or space or punctuation mark and separate the results by a comma. In the end, you'd have a long series of numbers. Statistical analysis and brute force are both useless in this case.

      The only way to decrypt the message is to get a copy of the key. This sounds a lot like a one time pad in that regard (but I'm certainly no expert).

    33. Re:'unbreakable' encryption by Anonymous Coward · · Score: 0

      Come on, this is like first year comp sci stuff.

      A one-time pad is truly unbreakable, and if you think about it, is logical, the reason essentially being that a piece of enciphered text (e.g. "SADJQWPTYCAOUCKJFDEJG") could theoretically represent ANY POSSIBLE PLAINTEXT, depending on the choice of the (randomized) one time pad. Thus, the enciphered plaintext could be any of *every single possible encodable message of that length*. So choosing one set of random numbers for the one time pad you might get e.g. "meet me at midnight", while using another set of random numbers you might get "meet me tomorrow morning", while using another, you'd just get garbage out, etc etc.

      Think about it, if you take an enciphered message of a certain length, and XOR it with every possible sequence of random bytes of that length, you're going to eventually get out EVERY SINGLE POSSIBLE ENGLISH SENTENCE of that length. How would you know which of those english sentences was the original plaintext? (assuming it was an english message of course)

      The only way to break it is to know the one-time-pad, which by circumstances is usually set up to be, in practice, impossible, so long as the people involved aren't stupid (e.g. if they call each other on the phone and discuss how they will generate the one-time pad, then anyone listening in will also know). The hardest part of using one-time pad encryption is communicating what the pad will be. But if you weren't party to those communications, and all you had was the enciphered text, you can completely forget about trying to unencrypt it. The pad has to be essentially completely random, otherwise you might be able to use (for example) statistical information about the english language and see if anything "non-random" is showing in the enciphered text. E.g, "e" is the most common letter used in the english alphabet (is space more common? not sure). Anyway, if the chosen one-time-pad happens to have more "23"'s in it than any other number, then the resultant ciphertext is likely to have more "'E' XOR 23"'s in it than anything else. This sort of thing could happen if you, e.g. used an MP3 file as your pad. That still doesn't tell you all that much though.

      I'm tired of hearing the argument that "things will always be breakable". As long as people retain this unrealistic over-optimism, the big corps are going to be able to push whatever encryption they want into their IP (and buy some laws to back it up as usual), and soon we'll be stuck in a situation where we really can't decipher the stuff, just because everybody, instead of DOING SOMETHING ABOUT IT now, just sat back and said "ah let em, we'll always be able to break it".

    34. Re:'unbreakable' encryption by c0d1 · · Score: 1

      Actually, you are only mostly correct.

      In order for a true one time pad to be useful for communication, it must be known by both the sending and receiving parties. As we all know, any secret known by more than one person is subject to compromise. ;-}

  2. Telling quote ... by Anonymous Coward · · Score: 0

    Mr. Kassam said Prescient has already piqued the interest of several corporations and phone companies. "We're cheaper than anything similar that's available out there," he said.

    And worth the price, no doubt.

  3. I've seen this before... by jonfromspace · · Score: 1, Redundant

    check out Non-Elephant. Gotta love that one-time pad model...

    --
    I am become Troll, destroyer of threads
  4. snake oil by mossmann · · Score: 0, Offtopic

    nt

    1. Re:snake oil by mossmann · · Score: 0, Offtopic

      Score:0, Offtopic

      Right.

      Short on details? Yes. Pointless? Maybe. Offtopic? No.

      Perhaps we need more negative moderation tags:

      • pointless
      • flat out wrong
      • poorly worded
      • etc.
  5. If this works by SquadBoy · · Score: 1

    it would do away with the problem of the Vicar's wife peeking. :)

    Note: Just because you don't get the joke does not mean that this is OT or that it is not funny. It is in fact both funny and very much on topic.

    --

    Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
    1. Re:If this works by Em+Emalb · · Score: 1

      ok, so clue me in then. I could use a laugh today.

      thanks,
      Em Emalb

      --
      Sent from your iPad.
    2. Re:If this works by Anonymous Coward · · Score: 0

      If we don't get the joke, it is by definition not funny.

      THINK before you post.

    3. Re:If this works by Anonymous Coward · · Score: 0

      Who are you to determine what we find off-topic?

      Goatse.cx forever!

    4. Re:If this works by SquadBoy · · Score: 2, Interesting

      You have to read a 600 page book

      http://www.cryptonomicon.com IMNSHO the best funniest geekiest book ever written. Basically during the WW2 part of the book they are using one time pads and one of the ways they are producing the random numbers is by having a Vicar's wife pull balls out of a bingo machine. Well she starts to peek and then the numbers are not quite random and so a German is able to crack their one time pads.

      --

      Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
    5. Re:If this works by geekoid · · Score: 3, Funny

      until your explanation, it was, in fact, not funny.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    6. Re:If this works by SquadBoy · · Score: 1

      It is funny if you have read Cryptonomicon. You should you really should.

      --

      Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
    7. Re:If this works by Anonymous Coward · · Score: 0

      I've read Cryptonomicon. This is still not funny.

      Also, I get annoyed every time I read Slashdot and see yet another lame joke from one of the 3 popular SF books that Slashdot'ers actually read. The SF world does not revolve around Neal Stephenson.

  6. Unbreakable by Anonymous Coward · · Score: 0

    Finally, an unbreakable encryption. I have been waiting for this; it is certainly theoretically possible and I am glad is has been realized.

  7. press release by cHiphead · · Score: 0

    just a glorified press release, nothing but hype on this one. the thought of unbreakable encryption is a joke and if you buy into that, you'll do good in upper management or marketing.

    --

    This is my sig. There are many like it, but this one is mine.
  8. Pour me another cup of that snake oil! by pointym5 · · Score: 2, Informative

    Depending on their "generator" function, they might have a decent cryptosystem or they might not, but IT IS NOT A ONE-TIME PAD by definition. Symmetric cyphers that aren't one-time pads can ALL be called "one-time pads" under that bogus definition, since generating a long sequence of random numbers to apply to the plaintext is pretty much what a cypher does.

    And here I was just reminiscing fondly about ZeoSync the other day, when another scam pops up!

    1. Re:Pour me another cup of that snake oil! by Anonymous Coward · · Score: 0

      Yes, this is utter (and obvious) snake oil. If the pad is generated from a key with fewer bits than the pad, then it's not 'unbreakable' in the sense that a one-time pad is. It's exactly like using a normal cipher in output feedback (OFB) mode --- they've just reinvented this particular wheel. The key size of this cipher is the size of the information you need to feed to these 'equations' to regenerate the XOR stream.

      OFB mode isn't used very often because it's not as secure as other modes.

    2. Re:Pour me another cup of that snake oil! by DrPepper · · Score: 1
      Let's see:
      This is number is exchanged with the server through a secure process known only to Prescient
      Some form of proprietry key exchange then...that's very secure ;-)
  9. I doubt it by Waffle+Iron · · Score: 4, Insightful
    ... equations sent with an initial (proprietary) exchange which takes place when users connect to an equipped server.

    Otherwise known as the encryption key? That's hardly a one-time-pad.

    1. Re:I doubt it by Hater's+Leaving,+The · · Score: 2, Insightful

      Kinda sorta.

      A one-type pad could be considered encryption key too though. The difference is that the theoretical kolmogorov complexity of a OTP is at least its own length.

      If this nonsense can have it's 'pad generation algorithm' transmitted in b bits, then its kolmogorov complexity is at most b bits.

      And if the algorithm is transmitted using a secure channel then the 'pad' is no more secure than that initial channel.

      It's like the other old con - you can't use the tail end of a one-time pad to send the next whole one-time pad, no matter what they tell you.

      So yes, you're right, the thing's just oozing bogons[*], and is fuxored from the start.

      THL
      [* The elementary particle of bogosity]

      --
      Keeping /. cynic density high since the fscking Kwhores/trolls arrived.
    2. Re:I doubt it by scosol · · Score: 1

      Good god yes.

      This is so entirely fucking ridiculous that I refuse to read anymore.

      Anyone who is involved in any sort of encryption knows that the key exchange is the most difficult part.

      And further- if you can (truly) securely do a key axchange, then you don't need encryption at all- because you could have just delivered the message along with the key.
      (since you have discoverd some secure way of delivering the key)

      --
      I browse at +5 Flamebait- moderation for all or moderation for none.
    3. Re:I doubt it by FatHogByTheAss · · Score: 1
      Kinda sorta.

      More accurately, not at all.

      If keyspace message space, it's not a OTP, regardless of what they say, what else they do, or how they do it.

      --

      --
      You sure got a purty mouth...

    4. Re:I doubt it by FatHogByTheAss · · Score: 1

      That should read

      "keyspace < message space"

      The one time I don't preview...

      --

      --
      You sure got a purty mouth...

    5. Re:I doubt it by Anonymous Coward · · Score: 0

      Not quite... even if you can securely perform the key exchange at time t0, that doesn't necessarily mean you can still securely exchange information later. Think WWII codebooks.

  10. buzz .. wrong by apankrat · · Score: 1

    decipher this:

    kjashduyqwhasklasj

    I simply used vocabulary larger than a message. No way you can decrypt this.

    --
    3.243F6A8885A308D313
    1. Re:buzz .. wrong by NorthDude · · Score: 0

      Wrong to, if you actually know how to decrypt it, I could torture you during weeks so you give me the "private key". It's another way of using "brute force" hehe. Doesn't want to flame, but I do also beleive that anything which could be decrypt could be "cracked", it's logic. It could be very hard, but still feasable.

      --


      I'd rather be sailing...
    2. Re:buzz .. wrong by zulux · · Score: 4, Funny

      decipher this:

      kjashduyqwhasklasj


      Underneeth each letter I put the row of the keyboard that the key belongs to.

      kjashduyqwhasklasj
      222222111122222222

      Thus usuing me l33t 5kilz - I have determined that your keyboard is missing its entire thrid row of keys.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    3. Re:buzz .. wrong by drDugan · · Score: 1

      nice sig

      ck out mine

    4. Re:buzz .. wrong by Anonymous Coward · · Score: 0
      Okay, I'll take a crack at it.

      kjashduyqwhasklasj
      you are a dumbass.

      Whoo hoo! I got it!

    5. Re:buzz .. wrong by czardonic · · Score: 1

      Wrong to, if you actually know how to decrypt it, I could torture you during weeks so you give me the "private key".

      Strictly speaking, that wouldn't be breaking the encryption.

      --
      Takahashi Rumiko made beats! DON, taku, DON, taku. . .
    6. Re:buzz .. wrong by StopGlobalWhining · · Score: 1

      Used in it's defined manner, a one-time pad is a perfect and unbreakable encryption scheme. If the key remains secure it is physically and logically unbreakable. See Bruce Schneier's "Applied Cryptography", second edition, page 15.

    7. Re:buzz .. wrong by evilmonkey_666 · · Score: 1

      A nice simplified way to illustrate this is, to suppose my message is the number 5, binary 101.

      I use a key of the same length, say, 6, or 111.

      I then XOR these numbers together, and get, 010.

      Given just the encrypted bits, to the cracker the original could be any combination of three bits.

      Any number from 0 to 6 is just as likely as any other. Which leaves the cracker simply guessing random numbers, he might as well not have the encrypted bits, they are useless.

      When we scale this model up, say with a plaintext of one megabyte, we have 2^(8388608) possible combinations, an massive number!

      However in practise, it's not useful, if we have a way of transfering a key that size between the sender and the recipitent (securely), why bother encrypting the data in the first place?

      --


      - PS. This is what part of the alphabet would look like if Q and R where eliminated.
    8. Re:buzz .. wrong by DrPascal · · Score: 1

      Hate to be a stickler on this one, but 6 is not 111, 111 is 7. 6 is 110.

      4 + 2 + 0 = 6

      --
      DrPascal: Not the language, the mathematician.
  11. Sounds fishy to me by happyhippy · · Score: 2, Insightful

    "We've found an electronic way of handling those complex keys, and of regenerating them dynamically so that lists of keys don't have to be stored anywhere," Mr. Kassam said. Its still going to be a matter of cracking what equations make the keys. And seeing everyone who uses these equations once someone has a good deal of these, everyones security is fux0red.

    1. Re:Sounds fishy to me by JediTrainer · · Score: 2

      "We've found an electronic way of handling those complex keys, and of regenerating them dynamically so that lists of keys don't have to be stored anywhere"

      Big fscking deal. They generate a random number, use that as a seed, and store the seed in a database.

      Whooptie-doo. I can write that in less than ten lines of Java code.

      --

      You can accomplish anything you set your mind to. The impossible just takes a little longer.
    2. Re:Sounds fishy to me by Anonymous Coward · · Score: 0

      Kassam = Arab = carpet salesman. All you need to know.

  12. No offense, but this is old news by Hemos+(editor) · · Score: 3, Informative

    I read this right after the September Eleventh attacks on the WTC.

    Thankfully, Google remembered exactly where the original article was at.

    http://www.aspheute.com/english/20010924.asp

    ---
    Partner Linux Site

    1. Re:No offense, but this is old news by Anonymous Coward · · Score: 0

      That's fuckin' awesome...even includes sample code

    2. Re:No offense, but this is old news by SkewlD00d · · Score: 2

      "Unbreakable" and "Encryption" is to "Unsinkable" and "Ship."

      --
      The biggest trick the devil pulled was letting lawyers become politicians so they can write the laws.
    3. Re:No offense, but this is old news by Anonymous Coward · · Score: 0

      So if a server has to cough up a billion bits of randomness for this application, is dev/urandom going to be up to the task?

  13. I'm no crypto expert, but by Another+MacHack · · Score: 0, Redundant

    I have a copy of "Applied Cryptography" somewhere, which is enough to spout off on slashdot as if I were an expert.

  14. I think we've been here by fm6 · · Score: 5, Interesting
    equations sent with an initial (proprietary) exchange
    Since the exchange software is closed source, how are we supposed to know if it's secure? It's probably some silly gimmick that will be broken by the first hacker who fiddles with it.

    Attempts to get around the fundamental limits of data encryption (and data compression, and a lot of other software fundamentals) remind me of all the pointless efforts to build a Perpetual Motion Machine. "Yeah, the smart guys say energy is "conserved", but anybody with any common sense can see if you just tweak this gearbox this way..."

    1. Re:I think we've been here by jeffy124 · · Score: 1

      silly gimmick that will be broken by the first hacker who fiddles with it

      to the uninitiated, this is a reference to the Adobe E-Book software, which used a Rot-13 (Ceasar shift) cipher, and DeCSS, which also a cheap algorithm.

      --
      The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    2. Re:I think we've been here by Citizen+of+Earth · · Score: 2, Funny

      remind me of all the pointless efforts to build a Perpetual Motion Machine.

      All you need is a cold-fusion generator that works at absolute zero. Then you can generate enough energy to increment through all possible one-time-pad keys. Of course, you'd never be able to match the raw throughput of an infinite number of monkeys unless you sicced the Loch Ness monster on them. But watch out for Xenu while you're doing that!

    3. Re:I think we've been here by fm6 · · Score: 2

      Actually, no. I had no idea how E-Book worked, and I was under the impression that DeCSS got broken because a licensee was careless about making a key accessible. I just had in mind the large number of vendors who are too quick to say, "It's secure. We know because we tested it. Don't you trust us?"

    4. Re:I think we've been here by psamuels · · Score: 1
      I was under the impression that DeCSS got broken because a licensee was careless about making a key accessible.

      Depends on your sense of causality. That's the immediate reason - it gave the hackers a lever. But when they dug a little deeper, given the clue of the known key, they discovered that the underlying algorithm was quite weak, and subsequently they were able to crack all the other vendor keys (well, from what I recall, they got bored and quit after 200 keys or so).

      To me, this means that if a trained cryptographer had looked at DeCSS, he could have cracked it quite easily without the Xing player key being available. IANAC, but I understand that a good cryptographer doesn't need access to the details of the algorithm, although those details make the job easier - but if it's a poor algo to start with, it can be easily cracked with no foreknowledge of the implementation.

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    5. Re:I think we've been here by psamuels · · Score: 1
      if a trained cryptographer had looked at DeCSS

      Uhhh, obviously I meant "if a trained cryptographer had looked at CSS"...

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    6. Re:I think we've been here by Anonymous Coward · · Score: 0

      Speaking of perpetual motion idiots, check out betavoltaic

      The people that are on the board of directors have a long history of pseudoscience. They are seeking funding in nevada. Spread the word so no one falls for this scam.

    7. Re:I think we've been here by Physics+Dude · · Score: 1
      So, you don't believe in any of that nuclear power nonsense I guess. Those nuclear physicists are just a bunch of "perpetual motion itiots", eh?

      I'm not saying that the people at betavoltaic aren't con artists since I havn't looked at the level of decay required to provide a reasonable current and I'd guess they'd need to really get a good reaction going, but the principle they describe is a valid nuclear power source. You did realize they were talking about radioactive decay, right? :)

    8. Re:I think we've been here by betavolt · · Score: 1

      Stimulated isotope decay is hardly perpetual motion. It is advanced science, even cutting edge but it has nothing to do with overunity or free energy.

  15. Now I can win $100,000! by nsample · · Score: 3, Funny


    I will use the secret powers of generating reproducable one-time pads to solve the equally overstated Bodacian challenge!


    The world will be all mine, Pinky!

  16. The Past by Daveman692 · · Score: 1

    We once thought 1024 bit encryption was unbreakable. Everything can be broken it just depends how much work you put into it. Also nothing is totally random.

    1. Re:The Past by parc · · Score: 2

      No, one-time pad is mathematically proven as unbreakable. It's the _ONLY_ proven unbreakable envryption method.

      Things ARE random. The noise made by compressed gas escaping from it's container is an example. So is stellar background radiation.

    2. Re:The Past by arkanes · · Score: 2

      Nobody (at least nobody with any knowledge in the field) ever said that 1024 bit encryption was unbreakable.

    3. Re:The Past by merlin_jim · · Score: 3, Insightful

      I have two things to say:

      1024 bit, while not unbreakable, is still unbreakable in the lifetime of the universe. I have no doubt methodologies and processes will be developped in the future that will change this, but as of right now, for all intents and purposes, it's unbreakable

      Secondly, many parts of quantum mechanical behaviour *are* random, especially at macroscopic scales. For example, when a particular radioactive isotope chooses to decay is completely random; I've seen military random number generators that depend on this or similar effects to create truly random number.

      But, no purely software random number generator will ever even come close to approaching randomness.

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    4. Re:The Past by Nonesuch · · Score: 2, Informative
      No, one-time pad is mathematically proven as unbreakable. It's the _ONLY_ proven unbreakable envryption method.
      A one-time pad is only 'unbreakable' with the assumptions that your source of random data is truly random, and that the mechanism used to distribute the one-time pad to the parties is not compromised. The Prescient system may be flawed due to the latter: "This is number is exchanged with the server through a secure process known only to Prescient...". Without a secure mechanism to distribute the pad, one-time pad crypto cannot be considered secure.

      Things ARE random. The noise made by compressed gas escaping from it's container is an example. So is stellar background radiation.
      This is generally true. You can determine the ' random' output of any process by knowing the algorithm and all of the seed values. In the case of stellar background radiation, the initial values are assumed to be incalcuable.

      One must assume that 'God' (Commonly defined as an all-knowing being) is capable of breaking one-time pad encryption systems.

      I am not aware of any research into the creation of cryptosystems designed to resist compromise by supernatural forces, much less any system that can resist an attack by an omniscient, omnipresent, omnipowerful opponent.

      "Mary, Alice and Bob wish to conceal their communications from Yahweh..."
    5. Re:The Past by Hater's+Leaving,+The · · Score: 2, Insightful

      However, the one time pad is simply a method of transporting a secure channel through time...

      In order to have a one time pad, and be perfectly, provably, secure, you must at some point earlier in time (maybe face to face in a secret bunker, where there are no bugs or cameras or tempest devices etc.) have had a secure channel over which to transmit and receive the pad.

      The pad lets you transport that secrecy to another point in time. However, you must have had the secure channel in the first place. Are you sure that bunker is as secret as you think it is?

      So yes, it's mathematically proven, but it's often very hard to set up in practice, because the preconditions are strict.

      THL.

      --
      Keeping /. cynic density high since the fscking Kwhores/trolls arrived.
    6. Re:The Past by issachar · · Score: 1

      I'm no encryption expert, but did you read this article on /. a few days ago?

      --
      . --- If you're looking for free e-mail you won't find it here! http://www.noemailhere.com
    7. Re:The Past by tsg · · Score: 1

      One must assume that 'God' (Commonly defined as an all-knowing being) is capable of breaking one-time pad encryption systems.

      Presumably, 'God' would already know what the message said anyway and wouldn't need to break it.

      --
      People's desire to believe they are right is much stronger than their desire to be right.
    8. Re:The Past by Anonymous Coward · · Score: 0

      This 1024 is symmetric, where the same key is used for encryp and decrypt. The article referenced is for public key, which is completely different mathematically, and currently unbreakable.

    9. Re:The Past by Anonymous Coward · · Score: 1, Insightful

      >>You can determine the 'random' output of any process by knowing the algorithm and all of the seed values.

      Not true as quantum mechanics is truely random. And before anyone tries to say "it appears random becouse you don't know the initial state" I say that experiments contradict that point of view.

    10. Re:The Past by psamuels · · Score: 1
      This is generally true. You can determine the ' random' output of any process by knowing the algorithm and all of the seed values.

      You haven't studied quantum mechanics, have you?

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    11. Re:The Past by Anonymous Coward · · Score: 0

      Not true as quantum mechanics is truely random. And before anyone tries to say "it appears random becouse you don't know the initial state" I say that experiments contradict that point of view.

      That what the experiments seem to say- we don't know the kldn*&698unn24...

    12. Re:The Past by Zeinfeld · · Score: 2
      ---This is generally true. You can determine the ' random' output of any process by knowing the algorithm and all of the seed values.

      You haven't studied quantum mechanics, have you?

      Actually that was pretty much Einstein's position. He refused to believe QM to be random and insisted on a determinstic universe.

      The point is that QM theory does not and indeed according to itself cannot tell us wether the universe is genuinely random on that scale or whether there is a layer of hidden variables whose inner workings are not observable.

      But getting back to the algorithm, the system described is not a one time pad, it is a stream cipher. I tend to avoid stream ciphers myself in favor of block ciphers. While there are good stream ciphers arround a stream cipher is much more fragile and much more sensitive to the exact circumstances of its application. The WEP protocol would merely be bad rather than broken if they had specified a block cipher. The reason they use a stream cpher is that they can be made fast.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    13. Re:The Past by Anonymous Coward · · Score: 0

      Nobody ever thought 1024-bit encryption is theoretically unbreakable. One-time pads are.

      1024 bits is starting to look a little bit weaker for certain public key algorithms, but for symmetric ciphers, 128 bits is, in practice, unbreakable, assuming that the cipher is not flawed.

      We have reasons to suspect that public key algorithms may be in danger of falling to quantum cryptography and advancements in mathematics. Symmetric ciphers are, however, something that can be considered moderately safe, for algorithms that have been publicly known and widely studied for long enough.

      You're not qualified to make comments about the safety of x-bit encryption if you don't understand the difference between block ciphers, stream ciphers, public key algorithms and one-time pads.

    14. Re:The Past by Anonymous Coward · · Score: 0

      unpredictable /= random

      That is by far my near-synonym bane.

    15. Re:The Past by Anonymous Coward · · Score: 0

      Who the fuck ever thought 1024 bit would always be unbreakable? Let's draw up a list:
      You: moron.
      Other people: also morons.
      Looks like that's the whole list.
      It's one thing to think that for a a non-entirely-mathematical(one time pad based on "random" sources such as picking numbers from a hat) cypher will remain unbreakable. It's another thing to think a purely mathematical(x-bit encryption) cypher will be unbreakable for a certain period of time. But to think a mathematical cypher will remain unbreakable forever? Pure folly. You, my freind, are a moron.

    16. Re:The Past by merlin_jim · · Score: 2

      Bernstein had a fundamental problem with his proposal... basically the proposal is a diagram of how to make a large number of cheap (low memory, high speed) processors work together on a decryption. He does have some novel hardware devices that can speed up the process, but his supposed speed improvements all rely on one critical assumption:

      That these processors are connected in a network that is zero-latency and infinite bandwidth.

      The only way to truly provide something like that would be a network whose total bandwidth is greater than the combined clock speed of all the processors. That means that if you have 2^n processors, you need n network connections for each processor, in a large parallel array, commonly known in parallel computing as a hypercube. Let's say you build a machine of 8 100MHz 8-bit processors. Each processor gets 3 connections, all of which are 1Gbps. The total number of these connections are equal to the number of edges in a cube: 12, because that's how these processors are connected. Each processor is at a vertex and each edge is a connection. Add 8 more processors, and you get 32 connections.

      For any machine sufficiently large enough to break a 1024-bit key, the cost would currently be greater than the entire economic output of earth for years. No doubt as high-speed networking technologies continue to be reduced in cost, this will change, but right now, Bernstein's proposal is unimplementable.

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    17. Re:The Past by Anonymous Coward · · Score: 0

      Sorry, this is a nitpick, I know you probably didn't mean this the way it came out, but ..

      We once thought 1024 bit encryption was unbreakable

      Why do people always simplify the past? People never "thought 1024-bit encryption was unbreakable", they thought, "1024-bit encryption was unbreakable by brute force because it would take too long on the computers of then".

      People TODAY don't think 2048-bit or 4096-bit encryption is "unbreakable", they just think it would take too long on todays computers to be practical. And yet, five years from now, you'll be posting on slashdot "back in 2002 people thought 2048 bit encryption was unbreakable". They don't.

      This sort of thinking mostly seem to crop up when laymen talk about physicists, for some reason, and its a pet peeve of mine. E.g. people will say "back in 1900, physicists thought they'd learned everything there was to learn". Or, "back in the 1950's, physicists 'thought that there was a pervasive medium called the ether that light propagated through'". Poppycock - physicists never thought that - they POSTULATED it, and thought, "maybe this is how things are". Physicists generally postulate how things MIGHT be, they don't make outright claims about what is not known (except the really lousy physicists might truly believe their own postulations, but any decent physicist knows when he is postulating something that it might be totally wrong, which is kind of the goal, to find out). Fundamentalist Christians love digging into the field of science with this, claiming "physicists cant make up their minds, they disagree with each other all the time, they keep changing things, they obviously dont know what theyre doing". They miss the subtle fact that that is how the process is supposed to work.

  17. nonsense by egomaniac · · Score: 5, Insightful

    They have a program which generates new keys for each subsequent transaction, and they claim that this counts as a "one-time pad".

    Nonsense -- a one-time pad is only secure because there is provably no way to figure out the keys without a copy of the codebook (assuming they were generated through appropriate random means).

    As long as a program is producing the keys, they will exist in a particular sequence. All you need to do is figure out at which point in the random sequence you are, and then you can generate the rest of the sequence easily, allowing you to eavedrop on the conversation.

    Admittedly, the article was fluff, but key-hopping doesn't significantly increase the difficulty of breaking encryption. Unless there is something else behind this that I'm missing, this is another "Compress random data by 99%! For real this time!"

    --
    ZFS: because love is never having to say fsck
    1. Re:nonsense by GenCuster · · Score: 1

      As long as a program is producing the keys, they will exist in a particular sequence. All you need to do is figure out at which point in the random sequence you are, and then you can generate the rest of the sequence easily, allowing you to eavedrop on the conversation.

      You are making an assumtion that I am not sure are valid. If the sequence is truely random, simply by veiwing a subset of the sequence how can you tell where you are?

      For example lets say my friend and I are comunicating using a true one time pad. Now lets say part way through the conversation you walk up. If I tell you what charectors I have used for the last five charectors, are you any closer to breaking the rest of the conversation? I posit no.

      --
      "The poet presents his thoughts festively, on the carriage of rhythm; usually because they could not walk" Nietzsche
    2. Re:nonsense by geekoid · · Score: 2

      "As long as a program is producing the keys, they will exist in a particular sequence. "

      why?

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    3. Re:nonsense by furiousgeorge · · Score: 4, Informative

      "Anyone who considers arithmetical methods of producing random numbers is, of course, in a state of sin."

      -John Von Neumann

      This latest 'unbreakable encryption' and 'generated one type pad' crap is the same as all the rest. Please don't try to defend it. I predict it will be featured in the 'Snake Oil' segment of Bruce Schniers (sic?) next monthly mailing.

    4. Re:nonsense by Aqualung · · Score: 2

      If the sequence is truely random

      I think this is what he's taking objection to... generating a sequence that is random enough to provide a secure one-time pad on a computer is not a non-trivial task in itself.

      --

      - Dave
    5. Re:nonsense by furiousgeorge · · Score: 2

      >> generating a sequence that is random enough to >>provide a secure one-time pad on a computer is
      >>not a non-trivial task in itself.

      If you've generated it on a computer using algorithmic means then BY DEFINITION it is not a one time pad.

    6. Re:nonsense by MindStalker · · Score: 4, Insightful

      Because a computer can't truly think of a random number, if you have two identical computers and you ask them for a random number and give them the same "seed" they will produce the same number. If you feed them no seed at all if you boot the computer and ask for a list of numbers, it will be the same list everytime you reboot. The computer is just installed with a device to generate this sequence of numbers, it has no way to be original. When you need to create a truly random number, which is often important in encryption, you need a random seed, often things like keyboard input, mouse movements, and network traffic is used together to create this seed. Anyways, this program once it creates this random number has to send it back to the server for the server to be able to decrypt the messages. There is no secure way to do this except for using another encyption method, which makes this encyption method just as breakable as any other if you can get the random number, or the seed. But this company says that the encryption is absolutly secure, which it is, but the key for the encyption isn't secure. So effectivly they are hiding behind semantics

    7. Re:nonsense by Anonymous Coward · · Score: 0

      its how computers work. same input -> same output. always.

    8. Re:nonsense by curunir · · Score: 4, Informative

      Because both the sender and receiver must generate the same sequence of keys. If it were random, then receiver wouldn't be able to decrypt the message.

      It could be that the "program" that is sent initially that generates the keys is different for each user. This would make it slightly more secure, but if that "program" were intercepted then every single key it generates would be compromised. It would also be vulerable if the program which generates the program which generates the keys was in any way predictable.

      --
      "Don't blame me, I voted for Kodos!"
    9. Re:nonsense by Eponymous,+Showered · · Score: 1

      Depending on how you define "computer", this is wrong. I can have a hardware RNG in my pc (say, plugged into a PCI slot) that generates random numbers from thermal noise of a diode. Generally accepted in the crypto community as random. Not that I'm defending the app described in the article (sounds mighty shaky to me).

    10. Re:nonsense by GenCuster · · Score: 1

      This latest 'unbreakable encryption' and 'generated one type pad' crap is the same as all the rest. Please don't try to defend it. I predict it will be featured in the 'Snake Oil' segment of Bruce Schniers (sic?) next monthly mailing.

      I agree that this scheme is bunk. I am however interested in the theory behind one time pas systems. I am not defending the claim. I am asking if in theory one time pad systems are acurate. I posit in theory they are.

      --
      "The poet presents his thoughts festively, on the carriage of rhythm; usually because they could not walk" Nietzsche
    11. Re:nonsense by Anonymous Coward · · Score: 0
      I predict it will be featured in the 'Snake Oil' segment of Bruce Schniers (sic?) next monthly mailing.

      How hard is it to look up Bruce Schneier (the old "e" before and after "i" rule) and point people to his newsletter

    12. Re:nonsense by dracken · · Score: 2, Interesting

      No - Counter intuitive as it may seem, picking a pseudo random function at random to generate random numbers is only as secure as picking a random seed for *a* defined pseudorandom function and generating random numbers. This and more fascinating crypto stuff in "Foundations of Cryptography" - Some portions of it are also accessible here http://theory.lcs.mit.edu/~oded/ln89.html .

      -Dracken

    13. Re:nonsense by Anonymous Coward · · Score: 1, Funny

      You're either not a developer or have never run Windows.

    14. Re:nonsense by Anonymous Coward · · Score: 0

      > Depending on how you define "computer", this is wrong. I can have a hardware RNG in my pc (say, plugged into a PCI slot) that generates random numbers from thermal noise of a diode. Generally accepted in the crypto community as random. Not that I'm defending the app described in the article (sounds mighty shaky to me).

      "Computer", in any discussion of this type, is a device running a user-selectable set of instructions. Your hardware RNG is exactly that, hardware, and therefore genuinely random - no repeatable computations involved.

    15. Re:nonsense by Anonymous Coward · · Score: 0
      How hard is it to look up Bruce Schneier (the old "e" before and after "i" rule) and point people to his newsletter [counterpane.com]

      good question... you tell us!

    16. Re:nonsense by a_n_d_e_r_s · · Score: 1

      The theory behind one time pads are solid - the problem is how do both sender and receiver get the same one time pad ?

      The one time pad are the same size as the message thus it equalkly hard to transfer the pad in a secure manner between the two as sending the message itself.

      But if you already have a way to transfer the one time pad in a secure manner - why bother using one time pads - why not transfer the data that way instead ?

      One-time-pads are mostly used when sending the pad can be slow to transfer - while sending the message must be fast.
      They usually actually transfer the one time pad between the two parties by courier which is very expensive. That makes it possible to send the message in a very secure way once the pad has been transfered.

      This makes one-time pads basically useless and are only used when one have very high security messages to transfer and very deep pockets. (Read goverment spies/diplomats )

      --
      Just saying it like it are.
    17. Re:nonsense by dracken · · Score: 1

      Unfortunately, there is nothing called "truely random". Functions or programs that generate these are pseudorandom functions (or pseudorandom generators PRG) which generate sequences of numbers "statistically indistinguishable" from turly random sequences.

      The main problem is if you are using a PRG to generate random numbers, it is cannot be proven

      A) A PRG is definitely pseudorandom
      B) A PRG will behave well for all given seeds.

      Infact it is not known if PRGs exist (if it is proved that PRGs exist its a one line proof to prove P not equals NP ). Hence schemes that directly use PRGs to encrypt are suspect.

      The only reliable way is to generate random numbers for one time pads is by - schemes like shuffling a deck of cards and picking one at random. Then these pads can be exchanged through public key encryption (RSA or DH key exchange). And then the pads can be used to encrypt.

      This is a well known technique - the only problem is generating one time pads. If the company does away with generating one time pads by exchanging programs or by exchanging seeds it is bull.

      Because then - the scheme is only as secure as Public Key and the PRG used to generate pseudo random numbers (whichever is lower).

      The crux - true randomness does not exist unless you shuffle a deck of cards. I dont think that prescient employs thousands of card shufflers who would shuffle cards and securely tell you the one time pads :). All other schemes that generate one time pads using PRG, seed exchage for PRG is already known and is regarded to be weak.

      -Dracken

    18. Re:nonsense by 56ker · · Score: 1

      I think this is all a problem over the term "random" number. Most (not all) random number generators that computers use aren't random - they're psuedo-random - that is they appear to be random but are in fact following a sequence. Then there are ones - like yours that can generate random numbers from something random. I remember when I wrote a BASIC program I couldn't work out why each time I ran it it came up with the same random number until I read about how they're generated in the manual (that was back in the Spe ctrum days).

    19. Re:nonsense by egomaniac · · Score: 3, Insightful

      Clarification -- a whole book of codes is transmitted at once. Then you use each code once.

      This is actually a lot better than it might sound, because you only have to worry about super-secure physical transit once, and then you get N opportunities to send completely unbreakable messages over whatever insecure channels you want. They could be announced on the nightly news if you wanted, and they would be completely and totally secure as long as nobody had your codebook.

      (How can you prove they are "completely and totally" secure? Surely you can just brute-force a one-time pad? ... Well, no. Say the pad is 500 characters long, and you transmit cyphertext <= 500 characters. In the absence of the pad, you would have to try each and every possible pad ... which gives you each and every possible message. There are as many potential plaintexts as there are possible pads, and a huge number of them would be comprehensible, plain English. Comprehensible, plain English with absolutely no relation to the cyphertext, but you get the point.

      There is no way to determine that "WE ATTACK AT DAWN" is the *true* plaintext, and not just some random coincidence that resulted from a certain choice of potential pad.)

      --
      ZFS: because love is never having to say fsck
    20. Re:nonsense by Anonymous Coward · · Score: 0

      I remember when I wrote a BASIC program I couldn't work out why each time I ran it it came up with the same random number until I read about how they're generated in the manual

      Randomize timer
      input "Please type a random sentence here and hit enter";x$
      Randomize timer

    21. Re:nonsense by rm+-rf+/etc/* · · Score: 3, Informative


      I remember the session on cryptography blunders at LISA last year. Two of the major blunders they listed were calling something unbreakable, and using a one time pad more than once. In addition to the problem you point out, from the description it sounds like they are using the pad more than once. If they client generates a key, uses it to encrypt data, sends it to the server, then the server uses it to encrypt data and send it back, it's not a one time pad. It's being used at least twice to encrypt and send data, which makes this much less secure.

      Plus the fact that they are claiming it is unbreakable immediately puts it off my list :)

    22. Re:nonsense by khuber · · Score: 1

      One method of having a computer program generate truly random numbers is to sample a user's keyboard/mouse input delay, using microphones, and so on.

      This doesn't at all contradict your good point about PRGs of course.

      -Kevin

    23. Re:nonsense by Anonymous Coward · · Score: 0

      But this company says that the encryption is absolutly secure, which it is
      Not even... since they are using a smaller key size than the message size, it is breakable.

    24. Re:nonsense by Scratch-O-Matic · · Score: 2

      But this company says that the encryption is absolutly secure, which it is, but the key for the encyption isn't secure. So effectivly they are hiding behind semantics

      This reminds me of military radios with encryption. The standard key is good for safeguarding information up to the 'Secret' level. For some missions, they use special keys that are good for 'Top Secret'. You may think that those special keys are inherently more secure, in terms of crackability. It turns out they are exactly the same strength, but they are handled through Top Secret channels (in other words, you can't keep the Top Secret keys in a Secret safe; they have to be kept in the special building down the street, and the guys who key the radios have to have Top Secret clearance, etc.)

      These guys' scheme is only as secure as their 'secret' method of transferring the keys. You can't carry a top secret key in a secret briefcase.

      --


      Evil is the money of root.
    25. Re:nonsense by quintessent · · Score: 2

      Yep. The only difference between this and other key-based encryption schemes is that these people have made it obvious they don't know what they're doing.

    26. Re:nonsense by horza · · Score: 2

      If you feed them no seed at all if you boot the computer and ask for a list of numbers, it will be the same list everytime you reboot.

      I agree with the point you are trying to get across, though in practice if you feed no seed then most computers will use the real-time clock as the seed hence you won't get the same series each time (and it's pretty unlikely you will run the program the same millisecond after reboot).

      Phillip.

    27. Re:nonsense by sir99 · · Score: 1

      You can't send the pad across an observable network in any way, public key encryption or no. It would only be as secure as the encryption then, since if you broke it, you'd have the pad. One-time pads have to be transferred in an utterly secure manner to be useful. They're only as secure as the weakest link.

      --
      The ocean parts and the meteors come down
      Laid out in amber, baby.
    28. Re:nonsense by JBob-S · · Score: 1

      "Because a computer can't truly think of a random number" is correct only if you're referring to the "think" part. If you have a newer Intel chipset based PC, you probably can get a few random numbers out of it:
      http://www.intel.com/design/security/rng/rng.htm

      It sure doesn't seem like snake oil:
      http://www.intel.com/design/security/rng/CRIwp.htm

  18. Hrmm... by Arcanix · · Score: 3, Funny

    So essentially they send the keys to the unbreakable cipher using a breakable cipher, sounds completely secure to me.

    1. Re:Hrmm... by Anonymous Coward · · Score: 0

      The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information it sends back to the client, and then the key is destroyed and a new one is created.

      Umm, yeah. A secure process known only to Prescient. If it's secure, then why not tell people about how it works? Sounds like security thru obscurity to me.

  19. Not a One Time Pad.... by alanh · · Score: 2, Informative

    An algorithmically generated sequence of pseudo-random numbers is not a one time pad. They are misusing the term "Vernam Cipher" in the description of their product. Vernam/One Time Pads require truely randomly generated data, not a sequence you can determine with a small seed value.

    --
    - AlanH
  20. People do this with hash functions all fo the time by westfirst · · Score: 3, Interesting


    Cryptographically secure hash functions like SHA or MD-5 are often used to convert shorter, shared numbers (the key) into a long bit stream that can be xor'ed with the file in much the same way as a one-time pad. This is done all of the time.

    Let k be your key. Let b1, b2, b3 be blocks of bits. Take as many as you need to encrypt the file:

    b1=SHA(key)
    b2=SHA(snip(b1)+key)
    b3=SHA(snip(b 2)+key)
    etc....

    In fact, you can use any encryption function instead of SHA with a few tweaks.

  21. So what kind of Encryption protects the seed? by deinol · · Score: 1

    I don't really see this as being a "one-time-pad" at all. You have a key that generates a pad, but the transfer of that key is just as vulnerable as any other encryption system.

    Sounds like the passing of the key is hidden behind a proprietary protocol, that will only be safe for as long as the protocol remains secret. Once someone reverse engineers it. Encryption specialists learned back in WWII that the only way to have a good encryption system is to make an algorithim that is hard to break even after someone knows what the algorithim is. Secrecy never lasts forever.

    --
    Got Apathy?
    1. Re:So what kind of Encryption protects the seed? by crush · · Score: 2

      Exactly. To look for the weakness in any of these schemes look for the bit that is "secret" or "proprietary". This is getting to be a tiring trend. Maybe /.'s editors could do us a favor and research some of these stories before they post them.

  22. The weak point by crush · · Score: 2
    The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information it sends back to the client,
    This is where the action is. The rest of the press release is smoke and mirrors.
  23. Keyspace by Rupert · · Score: 3, Interesting

    The Germans were using a variation on this in Cryptonomicon. The idea is that given an initial seed, you can generate a "key of the day" that appears random. In this case they're using an initial seed to generate a whole one-time pad.

    However, it isn't secure. If you know the algorithm, you only(!) have to search the keyspace of the initial seed.

    --

    --
    E_NOSIG
    1. Re:Keyspace by brer_rabbit · · Score: 1

      what if, instead, each encrypted message contained the next one time pad? would that be any more secure? Of course, once cracked all future messages are cracked...

    2. Re:Keyspace by Rupert · · Score: 2

      Unfortunately, a one-time pad has to be at least as large as the message it is encrypting (and random data doesn't compress well!). So you could do a Russian doll kind of thing with a really large OTP to start with, so you could encrypt a message and the next OTP, but your OTPs would get successively smaller. Better than nothing, I suppose, but still mostly more hassle than its worth.

      --

      --
      E_NOSIG
    3. Re:Keyspace by mossmann · · Score: 1

      Those new "one-time pads" aren't one-time pads at all. This is an early stream cipher.

    4. Re:Keyspace by stevey · · Score: 1

      Yes that's correct - and it appears to be what they're doing.

      Its like the equations they're sending tell each side how to get the next 'random' number in the sequence.

      I've seen stuff like this before - and its not too hard to break - say you have a seed in your random number generator, (eg. Blum, Blum, Shub), you can then treat the rng's output as a one-time-pad.

      This only works if its hard to find your initial seed .. which it usually isn't.

  24. Not a one-time pad by lirkbald · · Score: 1

    From my college coursework on crypto:

    If they are generating the key with a program, then by definition it's not random. The best they could be doing is getting something poly-time indistinguishable from randomness. And, given that that is (IIRC) equivalent to proving P!=NP, I doubt they've done that.

    Furthermore, if you have to exchange the keys by electronic means, you've defeated the whole point of a one time pad.

    So, in other words, it sounds like just another attempt to dress up security through obscurity in fancy language.

  25. The invention of srand()? by andersen · · Score: 1

    Sounds like they have just invented srand(), i.e. they just provide a seed to a random number generator to both people. Sure, they can produce all the one-time pads they want that way. The trick is if people can 1) guess the seed or 2) intercept the seed as it is being provided to the other party. I'm not sure how any of this is original....

    --
    -Erik -- --This message was written using 73% post-consumer electrons--
  26. Big deal by meckardt · · Score: 2

    An encryption algorythim using a one-shot key known to both sender and recipient is nothing new. Definitely has a higher potential security than other methods. But not very practical for repeat business (eg, a secure web store).

    1. Re:Big deal by merlin_jim · · Score: 2

      Security is only potentially higher IF the one-time pad is communicated outside of electronic channels (ex: secured courier delivering pad directly into electronic safe), which is not what they're doing.

      But, you're absolutely right about the above method (and any other secure one) being impractical in the real world; its generally only used for the most secret of secrets...

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    2. Re:Big deal by ProfessorPuke · · Score: 1

      They mention wireless devices as one of their target markets- that may be where the utility comes in. Both 802.11b and traditional fiber-optic frame relay are electronic channels, but the latter is potentially much more secure, since the attack has to actually tap the cable (or more likely, mis-use an existing connection).

      They could transmit the one-time pad over wired connections, before sending the messages themselves over the less secure radio broadcast.

      (On a geometrical tangent: The spatial extents that the intruder must visit to intercept a wired-message are in a thin cylinder around the wire (of length N), rather than in a hemisphere of radius N centered on the sender. Thus, the total volume of vulnerable space is much smaller, and it is easier to physically protect the space from intruders).

  27. WEBSITE LINK by drDugan · · Score: 5, Informative


    finding their website was non trivial on google

    its here

    http://www.prescient.net/

    1. Re:WEBSITE LINK by Anonymous Coward · · Score: 0

      T( H)GSB Apr 21-27

    2. Re:WEBSITE LINK by Anonymous Coward · · Score: 0

      You're Karma Whoring, and your link is disrespectful of people who really were slaves.

      If you don't want to participate in today's world, don't. Go to another country, and live off the land. Go ahead. I won't stop you.

      I'm against corporate control too. I think corporations have far too much power, and they lord it over us. That doesn't mean we're slaves.

  28. Encode my publications! by bsdparasite · · Score: 1
    Now, Can I encrypt one page of a book using another and thus have good encryption on electronic media? Wonder what this means to e-Book and CD-ROM publishers.

    The body cannot live without the mind - Morpheus

    1. Re:Encode my publications! by Anonymous Coward · · Score: 0

      Yes. A nother pre-arrainged book/newspaper column/whatever can definately be used as a one-time pad for cryptogophy. However, while convienient as a one time pad it is a version of "Security by Obsurity" due to the "one-time pad" in this case being widely distributed. but for small bits of data exchange between 2 people that cannot arrainge for secure transmission/secure exchange of a true random one time pad this is a viable method. I wouldn't count on it being useful for comercial crypto but i wouldn;t doubt that it would be a safe one time pad method for international secure text exchange (due to the fact that so many US publications are available in other countries eg USA Today)

  29. Shaky Ground by Trolocsis · · Score: 1

    "This is number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information it sends back to the client, and then the key is destroyed and a new one is created."

    Security in obscurity will never be secure.

    A few links:
    E2Sec Whitepaper (PDF)
    Product Background (Word DOC)

  30. Re:Damn you 19 SECONDS by Anonymous Coward · · Score: 0

    I claim rightful first post in the name of logged in ACs everywhere.

  31. Bad cryptography.... by alanh · · Score: 1
    Quoting the article:
    The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information it sends back to the client, and then the key is destroyed and a new one is created.


    Proprietary, secret algorithms? Security through obscurity is not security at all....
    --
    - AlanH
    1. Re:Bad cryptography.... by mindstrm · · Score: 2

      I am so sick of hearing that mantra over and over again.

      Obscurity is one facet to security.

      Obscurity on it's own is NOT security.

      Given their method is proprietary and secret, you have no way of judging whether it is secure or not.

    2. Re:Bad cryptography.... by Frobnicator · · Score: 1
      Obscurity is one facet to security.
      Obscurity on it's own is NOT security.
      Given their method is proprietary and secret, you have no way of judging whether it is secure or not.
      I'm glad at least one /. poster understands. Citing the famous example of giving you a locked box to open versus telling you I have hidden the box somewhere...

      I can hide it AND lock it, so you have to do much more work.

      --
      //TODO: Think of witty sig statement
    3. Re:Bad cryptography.... by DavidTC · · Score: 1
      Even better, hand the person 16 thousand locked boxes, and don't tell him which one is yours. ;)

      Obscurity is vastly underrated. Having only obscurity is bad, because someone will eventually stumble over the way in, but having a large number of 'apparent' locked doors where only one of them is real is a great addition to any locks you may have on the door. Note the word 'addition'.

      However, with encryption algorithms, having them be 'obscure' is having them be 'untested'. And a lot of people know a lot less about encryption than they think they do. (I know just enough to know I don't know anything.)

      Keeping an algorithm untested is a great way to ship a product that appears to work, then three weeks later someone comes out with some code that makes your effective keylength be 34 bits, due to mathmatical stupidity.

      --
      If corporations are people, aren't stockholders guilty of slavery?
  32. Timothy: 1-1 by The+Pim · · Score: 2

    Ugh... A story about a real cryptography breakthrough, followed up by PR for this snake oil. Timothy, you should have stopped while you were ahead. ;-)

    --

    The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
  33. this is dumb by blackmail · · Score: 1

    The basis of symmetric key crypto is a pseudo-random number generator. This is a deterministic function that, given a random seed, generates pseudo-random bits that, information theoretically, should be indistinguishable from random noise if you don't know the seed. There are many different implementations of PRNGs, and this company has just built another one. And PRNGs are not magic OTP generators.

  34. A vernam cipher IS unbreakable by dwbryson · · Score: 5, Interesting

    no, a vernam cipher is the only form of unbreakable encryption. It happens like this: you have a stream of extremely random bits. And you have to make sure they are really really random, no pseudo random number generators. Say it's coming from a satelite up in space that measures radioactive particles(this was proposed in a paper not too long ago). Now the satellite streams these bits down to earth, so anybody can access them. Alice and Bob want to communicate securely over an insecure channel. So the agree on a series of bits to encrypt with. This can be anything from "every other bit" to a large polynomial function that says which bits to use. So every bit the function designates as an encrypted bit is used to XOR any message Alice and Bob use to communitacte. So, Alice computes bit random bit number x to encrypt bit y. She does XOR(x,y)->c and sends it to Bob. Bob also has this formula and performs the calculation to find which bit number x to use, then performs XOR(c,x)->y. The key is keeping the bit number function secret. Now, why is this secure? because anybody listening on the channel doesn't know the function(hopefully) and if your bits are truely random there is *no* way to distinguish whether any given bit can be 0 or 1. Try all the combinations for 0 or 1 in the message you want, but every permutation you want will look like the correct decryption.

    --
    - "Never let a computer tell me shit." - DelTron Zero
    1. Re:A vernam cipher IS unbreakable by Anonymous Coward · · Score: 0

      There is no such thing as 'extremely random bits'. A string of bits is either random or not. The key to a vernam cipher is that you use random bits (which as we know can be rather difficult to come by).

    2. Re:A vernam cipher IS unbreakable by merlin_jim · · Score: 2

      Ummm... no mathematical function is random. While you are correct, in that, given a random bitstream, every permutation you try will look like the correct decryption (and a large portion of them will generate something that looks like english, but isn't the original message)... the problem is the bit-choosing algorithm. You could take every bit, but then someone with access to the signal would be able to easily decode. You could take every other bit, but that isn't much more difficult.

      You could use a large polynomial function; in that case, the amount of entropy in your encryption will be equal to the amount of entropy in your polynomials; if you can describe them in 128-bits, then that's the amount of entropy in your cipher.

      Of course, all of this assumes that Eve intercepted the satelite signal at the same time.

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    3. Re:A vernam cipher IS unbreakable by Anonymous Coward · · Score: 0

      In "the limits of mathematics" gregory chaitin introduces in the first chapter a function that produces random output. check it out, its really quite amazing. randomness in arithmetic

      check it out

      http://www.cs.auckland.ac.nz/CDMTCS/chaitin/unm. ht ml

    4. Re:A vernam cipher IS unbreakable by Linux_ho · · Score: 2

      The problem with this is that anyone with the motivation, a disassembler, a good eye for assembly language, and access to the product can figure out the function.

      --
      include $sig;
      1;
    5. Re:A vernam cipher IS unbreakable by Anonymous Coward · · Score: 0

      My two-hundred page equation is constructed so that it has a finite or infinite number of solutions depending on whether a particular bit of the halting probability is a 0 or a 1. As you vary the parameter, you get each individual bit of Omega. Matijasevic's equation is constructed so that it has a solution if and only if a particular program ever halts. As you vary the parameter, you get each individual computer program.

      Thus even in arithmetic you can find Omega's absolute lack of structure, Omega's randomness and irreducible mathematical information. Reasoning is completely powerless in those areas of arithmetic. My equation shows that this is so. As I said before, to get this equation I use ideas that start in Gödel's original 1931 paper. But it was Jones and Matijasevic's 1984 paper that finally gave me the tool that I needed.

      So that's why I say that there is randomness in elementary number theory, in the arithmetic of the natural numbers. This is an impenetrable stone wall, it's a worst case. From Gödel we knew that we couldn't get a formal axiomatic system to be complete. We knew we were in trouble, and Turing showed us how basic it was, but Omega is an extreme case where reasoning fails completely.

      I won't go into the details, but let me talk in vague information-theoretic terms. Matijasevic's equation gives you N arithmetical questions with yes/no answers which turn out to be only log N bits of algorithmic information. My equation gives you N arithmetical questions with yes/no answers which are irreducible, incompressible mathematical information.

    6. Re:A vernam cipher IS unbreakable by scosol · · Score: 1

      Uhm- Yes :)

      "The key is keeping the bit number function secret"

      Absolutely true.
      But beyond that, it is also key to use a *different* bit number function for each transaction.
      (IE: a new pad)

      Why?
      Because a given pad is generated for the length of the data.
      You don't want to reuse this pad at another time, and furthermore since you don't want the pad "looping", you'd have to generate a longer pad for a longer dataset.

      This gets back to the problem of a new pad having to be exchanged for *every* transaction.
      Where- if that's possible, then you must already have some secure means of communication and don't need to encrypt anything in the first place.

      And yeah- Deltron :)

      --
      I browse at +5 Flamebait- moderation for all or moderation for none.
    7. Re:A vernam cipher IS unbreakable by monkeydo · · Score: 2
      This gets back to the problem of a new pad having to be exchanged for *every* transaction.
      Where- if that's possible, then you must already have some secure means of communication and don't need to encrypt anything in the first place.


      If I am a spy we can exchange the pad before I leave spy headquarters and then use it to transmit secret messages while I am in the field.

      --
      Si vis pacem, para bellum
      The only thing more annoying than a Libertarian is an (un|mis)informed Libertarian
    8. Re:A vernam cipher IS unbreakable by amitola · · Score: 1
      I fail to see how this scheme has any advantage whatsoever over regular symmetric encryption. Assuming everyone has access to the random bit stream, the key material is nothing more than the integer sequence you use to select bits. Whether you pick every other bit, or a "large polynomial function", you have to have agreed on a random-looking integer sequence in some secure fashion. That being the case, why don't you just use that sequence as your key to any conventional cipher?

      The "really really random" bits are a red herring. Because everybody has access to the stream, they would be totally irrelevant to a cryptanalysis. The attacker wouldn't be trying to guess whether a selected bit was "1" or "0", which is useless, but rather trying to guess which of the known bits were selected.

      If you instead assume that attackers don't have access to the random bit stream, you have a one time pad, with its advantages and disadvantages. In that scenario, why would you bother to select a subset of the secret, random bits? No true one-time-pad is better than any other, at least as I understand them.

      Perhaps someone who knows more than myself could provide the reference to the "vernam cipher" paper, or explain it in a way that I can see its advantages?

    9. Re:A vernam cipher IS unbreakable by Slashamatic · · Score: 1
      If you are trying to receive random bits, are you really sure they are random? Is the other guy getting the same random bits? I can squirt some stuff to you that will pass your entropy tests but is 100% predictable to me.

      From this point on getting your selection algorithm becomes a trivial exercise.

      Vernam ciphers only work if you both share a secure source of truly random numbers, and the key is the same length as the plaintext.

    10. Re:A vernam cipher IS unbreakable by Piquan · · Score: 2, Informative

      BZZT, wrong, but thanks for playing.

      You're making the same mistake that Precident made: the belief that any mathematical function can generate a random series of bits. The best you can do is pseudo-random. And using pseudo-random and thinking you've got an OTP is a very, very bad thing.

      I don't care if you're using a satellite to create a convolution matrix, you're still using a mathematical function to generate the bits.

      The satellite idea is based, pretty much, on the theory that "nobody can store all those bits for analysis". I won't discuss the practical merits of that, since /. already has. But it gives you no theoretical gain. You're stil l trying to call the output of a PRNG an OTP, and that just ain't so.

    11. Re:A vernam cipher IS unbreakable by Anonymous Coward · · Score: 0



      ARCHIMEDES PLUTONIUM! HE LIVES!











      this text is here so that the lameness filter will allow this message to be posted

    12. Re:A vernam cipher IS unbreakable by merlin_jim · · Score: 2

      While this has been an excellent read, and I thank you greatly for providing it, I would like to make a couple observations:

      Firstly, the random function he produces depends on a 200-page equation using variables for exponents. The equation is deterministic, but random. If you provide the same exponents, then the halting probability will be the same every time. However, any particular value of Omega, when considered independently, appears to be mathematically random. This is good stuff, don't get me wrong. Provably random-looking numbers. VERY good stuff. But, for the purposes of cryptography, not useful, because in order to prove it secure, it has to be open; therefore, finding out how the number was generated is pretty simple, and your entropy is reduced back to the number of bits in the variables used as exponents, because that's your search space.

      This WOULD be a great way of further increasing the entropy in a hardware random number generator, however.

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    13. Re:A vernam cipher IS unbreakable by Physics+Dude · · Score: 1
      *BZZT * *BZZT*, try again.

      He's not talking about using a mathematical function to generate random series of bits. He's referring to using a random physical process (ie. radioactive decay) to generate the bits. There's a slight difference you know. (Hint: one of the process is deterministic and the other isn't).

      Now if you want to claim that there are no truely random physical processes, that's another storry. ; )

    14. Re:A vernam cipher IS unbreakable by DavidTC · · Score: 1
      You're just managed to turn the function used to select the bits into the key.

      Granted, it's hard to decode said key, but it's not 'unbreakable' by any means.

      And you've still got the issue of how you transfer the 'selection key' in the first place.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    15. Re:A vernam cipher IS unbreakable by Piquan · · Score: 1

      I'm specifically addressing the bit where the poster said: So the agree on a series of bits to encrypt with. This can be anything from "every other bit" to a large polynomial function that says which bits to use. So every bit the function designates as an encrypted bit is used to XOR any message Alice and Bob use to communitacte.

      I'll go along with the idea that the bits from the satellite are indeed random. (I use this phrasing because I haven't verified it myself, but I have no qualms with the assertion for the purposes of this argument.) But those are common knowledge. They become part of the PRNG, a convolution matrix for the output of his "large polynomial function" or whatever the bit selection function is.

      Consider these bits, from a physical RNG: CB 57 DD F4 B1 91 F6 26 These represent some of the satellite bits.

      Now, I have a polynomial ax^2+bx+c. (I'm not telling you (a,b,c), because that's my cipher key.) Take the output of that at 1,2,3.... Take those values mod 2. Obviously, you don't have a good RNG... it's pretty easy to predict. (The crypto connection here is that you then XOR these with your message.)

      Next, take the same values, but instead of mod 2, take it mod 64; call that k. Take the k'th bit of the bits I gave you earlier.

      If you know the bits, and I know the bits, then this is no more secure than the predictable RNG I hypothesized about earlier. We're just using a convolution matrix, but the matrix is part of the algorithm-- ie, common knowledge-- not part of the key.

  35. *scoffs* 'unbreakable' encryption by merlin_jim · · Score: 4, Interesting

    From the article:

    Once the server is set up with E2Sec, anyone who logs on through a Web browser or Internet link will automatically be given an encrypted connection. A small 4- to 10-kilobit file, a bit like a Web cookie, is loaded into the client computer's memory. The file contains a program to generate random encryption keys, so that the keys themselves don't have to be sent over the network connection. The program is so tiny that even the low-powered processors in a cellphone can run it with ease, Mr. Kassam said.

    This is really unbreakable. Unless you happen to intercept this program. Which wouldn't be that hard, and it may in fact be the same program for every client. And, they're touting this for wireless communications.

    I found this next part interesting:

    The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information it sends back to the client, and then the key is destroyed and a new one is created. This process is repeated every time information is exchanged between the client and the server, making it virtually impossible for outsiders to decrypt the information.

    It's a well established fact that non-open, secure processes are not secure. Cryptography is difficult, folks. The only way to even come close to proving that a particular process is secure is by exposing it to the scrutiny of the entire global community. Even then, its a case of proving that something is NOT true, which in this case involves incredibly complex mathematics that don't work for half of the proposed protocols out there; for instance, for a particular protocol to be 'provably' secure, it has to be time reversible (that is, if you apply any one step in reverse, the encryption key and cipher text each go back to their state before that step)

    "We're 100-per-cent confident in our technology," Mr. Kassam said. "To give an idea of how difficult this is to crack, many organizations consider 128-bit encryption, which has a [cryptography level] of two to the power of 128, to be very secure. With e2Sec, we're talking about encryption in excess of 5,000 bits, and as much as two to the power of 10,000."

    Ummmm... comparing asymmetric encryption to symmetric encryption (of which a one-time pad is a subset) with key-lengths is like comparing apples to oranges. In asymmetric encryption, your security is in your keyspace... every bit doubles the time to search the keyspace. In symmetric encryption, security is all about the keys; symmetric encryption is so easy to do that you can try millions of keys a second, as opposed to thousands or hundreds, so you HAVE to have a big keyspace. But, most symmetric encryption algorithms allow you to get it partly right; if the key is partly right, you get a partly decoded message, so the search algorithm is linear instead of exponential.

    --
    I am disrespectful to dirt! Can you see that I am serious?!
    1. Re:*scoffs* 'unbreakable' encryption by Anonymous Coward · · Score: 0

      Ummmm... But, most symmetric encryption algorithms allow you to get it partly right; if the key is partly right, you get a partly decoded message, so the search algorithm is linear instead of exponential.

      Ummmm... the gist of your post, in that this technique is big time snake oil is right on target. But what kind of crack are you smoking making comments like that one??

    2. Re:*scoffs* 'unbreakable' encryption by Citizen+of+Earth · · Score: 5, Insightful

      The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information

      Ha! The fools! Just send your message through this secure process. No need for the one-time-pad nonsense! QED.

    3. Re:*scoffs* 'unbreakable' encryption by cpeterso · · Score: 2

      "We're 100-per-cent confident in our technology," Mr. Kassam said. "To give an idea of how difficult this is to crack, many organizations consider 128-bit encryption, which has a [cryptography level] of two to the power of 128, to be very secure. With e2Sec, we're talking about encryption in excess of 5,000 bits, and as much as two to the power of 10,000."

      If their e2Sec crypto is more difficult to crack than 128-bit encryption, why would their algorithm need a LARGER key?? That implies that it is weaker.

      Of course, the quote is probably talking about some snake oil "128 bits of OUR crypto is equivalent to 5000 bits of THEIR crypto." yeah, right.

    4. Re:*scoffs* 'unbreakable' encryption by swillden · · Score: 2

      But, most symmetric encryption algorithms allow you to get it partly right; if the key is partly right, you get a partly decoded message, so the search algorithm is linear instead of exponential.

      Whaaa? Only if the symmetric algorithm *really* sucks. With a good symmetric cipher, toggling any bit of the key or any bit of the plaintext should result in a completely different ciphertext (meaning, on average, half of the ciphertext bits change).

      What you say is completely untrue of any good cipher, symmetric or asymmetric. While I'm at it, you also said:

      In asymmetric encryption, your security is in your keyspace... every bit doubles the time to search the keyspace.

      This is generally true of symmetric ciphers, but is not true for most asymmetric ciphers. For example, since every 1024-bit RSA key is produced by multiplying two 512-bit primes and every 1025-bit RSA key is produced by multiplying a 512-bit prime and a 513-bit prime your statement would only be true if there were twice as many 513-bit primes as 512-bit primes, but that isn't true.

      The rest of your post was quite good, but you kinda fell apart in the last paragraph.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    5. Re:*scoffs* 'unbreakable' encryption by Dr.+Spork · · Score: 2
      Thank you! You are exactly right in both describing the system and diagnosing its fatal flaw. With standard factoring encryption, it doesn't matter who intercepts the message; they still have to do a lot of numbercrunching to decode the content.

      With this revolutionary technology; all you get is the basic "security through obscurity", as witnessed in the sentence "This is number is exchanged with the server through a secure process known only to Prescient." Gee, I wonder how long it will take people to figure out the double-dog-secret process. If these Canucks are lucky, it will be during testing. If they are not, it will be a year after hundreds of companies, cell phones and whatever else standardize on this silly system.

    6. Re:*scoffs* 'unbreakable' encryption by anshil · · Score: 1

      This is number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information it sends back to the client, and then the key is destroyed and a new one is created.

      And easily hackable by everybody that has a client from them. Reminds me of Online Games like Ultima Online. To hinder the people from cheating they encrypt the stream through a secure process known only to Origin. However everybody has still the client in assembler form. They have already none less than 8 levels of encryption stacked on each other. All very smart data scrambling with a "hidden" algorithmn. But that did't hinder the hacker folk the reverse engineer the assember. (As far I know all 8 are currently known) It always takes some months to decrypt one or two new levels, but it's all far from secure.

      --

      --
      Karma 50, and all I got was this lousy T-Shirt.
    7. Re:*scoffs* 'unbreakable' encryption by Hydrogenoid · · Score: 1

      Doesn't always works that way...
      The secure process is probably more computational intensive than the other one, and thus not really practical for large volumes of data...

    8. Re:*scoffs* 'unbreakable' encryption by merlin_jim · · Score: 2

      First, I'd like to point out that I said most. This certainly doesn't apply to all. But, every symmetric encryption algorithm I've ever seen works like this: it takes a random-looking number and XOR's it with the plaintext to generate the cipher text. If you don't have a random number, you use your non-random number as a seed in a random-number generator to make it random.

      But, if one were to use keylength as a measurement of the security of an algorithm; well, in symmetric encryption, if you get a certain number of consecutive bits correct, the result looks less random. One can assume therefore that those bits are correct, and start focusing on the rest of the bits.

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    9. Re:*scoffs* 'unbreakable' encryption by merlin_jim · · Score: 2

      Alright, I was reaching a little on the last paragraph; but the doubling-your-keyspace argument was right from Applied Cryptography

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    10. Re:*scoffs* 'unbreakable' encryption by merlin_jim · · Score: 2

      Honestly, I'm kinda hoping for the second option. I would never use this silliness to encode anything more secure than a shopping list, but as a security consultant, I can't help but thinking that one's failure is another's boon, and all that...

      --
      I am disrespectful to dirt! Can you see that I am serious?!
    11. Re:*scoffs* 'unbreakable' encryption by swillden · · Score: 1

      Misstated from Applied Cryptography. I've worn out two copies of AC and I would have caught an error that large.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  36. Wow I thought I needed Anger Management. by Anonymous Coward · · Score: 1, Interesting

    Lighten up. It's a story. I agree that it's a load of shit but that is why it was probably posted.
    Your Lord, Jebus Christ

  37. Re:People do this with hash functions all fo the t by Anonymous Coward · · Score: 0

    However, your security is not that of the resulting pseudo-random stream ( "one time pad"), it is that of the original key length. Secure, but calling it a "one time pad" is pure snake oil.

  38. Author should be ashamed by tomstdenis · · Score: 3, Insightful

    Note to author: If you are not in the know, don't write as if you are.

    First off, the OTP is completely 100% unbreakable [in theory]. Even with infinite time an OTP is unbreakable.

    No symmetric key system, even a really super-duper one can get that type of security. I mean sure, you could make it require 2^1000 time, but that isn't unbreakable. That is "not likely to be breakable", a strong difference.

    Second, this is not the first company todo so. In fact the sci.crypt snake oil journal is full of similar companies. Any company that cites "unbreakable" and "OTP" when talking about their inhouse crypto is very suspect. Real credible companies don't play on such naive terms. RSA for example will play on the reliability of the code more than they will about the breakability of their ciphers they use [e.g. RC5/DES/AES]

    Third, if it is not a OTP then its not a OTP. These "OTP-like" and "pseudo-OTP" phrases you read here and there are meaningless. Either its an OTP or it isn't. There is no half-way inbetween.

    Fourth, as I read it you download a program that generates a stream? This is nothing new. What the heck do they think a stream cipher is [re: a block cipher in CTR mode is a good candidate]. What they don't say is if you make a 1000-bit pad with a stream cipher you're not supposed to think of that as a 1000-bit key for a message as in you have 1000 bits of entropy. If you use a 64-bit key to seed a cipher to make 1000-bits for a 1000-bit message than the key is still only 64-bits and you just stretched the entropy over 1000-bits.

    e.g.

    Entropy In >= Entropy Out

    Fifth, everyone please laugh at the shameful cloakware people. Shameful! www.cloakware.com, they are an even bigger canadian joke.

    Tom

    --
    Someday, I'll have a real sig.
    1. Re:Author should be ashamed by Anonymous Coward · · Score: 0

      While this may be a little off-topic, I should point out that just because the length of the OTP is greater than the message does not mean no data can be derived, only that you can no data about the bits within the message.

      You still know the message was sent, and if you know that OTP are being used, you know the maximum length of that message. Of course, you can design protocols such that this data is not helpful (you transmit data every day at the same time, usually saying "Nothing to report", "wasting" OTPs to do so, and make all your useful message not exceed that length). However, the protocol is still of some import.

    2. Re:Author should be ashamed by DavidTC · · Score: 1
      You don't have to 'waste' OTP, at least not much. You encrypt the first part of the message, saying something like 'NO MESSAGE', or even a single character that means no message (Starting a message with a period, for example.), with a OTP, then you just dump real random numbers down the line. By 'random numbers', I mean one you haven't gotten around to transferring yet, and hence are not a OTP yet.

      This keeps you from using up all your OTP, but is just as secure.

      Of course, this is assuming the problems lay in transporting the OTP, not generating the random numbers, but that seems a reasonable assumption.

      And, of course, it assumes you're not using the wasteful method of an entire sheet of OTP for a single message, like I believe the Navy uses, at least according to some movies I've seen.

      --
      If corporations are people, aren't stockholders guilty of slavery?
  39. Snake oil by yamla · · Score: 2

    A one-time-pad is unbreakable provided that the pad itself doesn't fall into enemy hands. This is a fact and can be proven mathematically. Provided that you have one bit of randomness for every bit of the message, it cannot be broken.

    This company is claiming unbreakable encryption because they have something like a OTP but have worked around the problem of having to transfer the pad itself. 'This is number is exchanged with the server through a secure process known only to Prescient'.

    Okay, great. So now, instead of attacking the one-time-pad encryption, which we know is unbreakable if implemented correctly, hackers will now simply have to attack this 'secure process known only to Prescient'.

    Snake oil. Their entire product really has NOTHING TO DO WITH ONE-TIME-PADS but instead, relies on a proprietary, secret algorithm that they won't tell you. At BEST, this is misleading. Their security is not unbreakable. It is far _less_ likely to be unbreakable than any other widely-known encryption algorithm. They are selling snake oil.

    --

    Oceania has always been at war with Eastasia.
  40. Re:Can't anyone use their heads at /. ???? by Em+Emalb · · Score: 2

    Dude, calm down a bit. You have very valid points, but if you insult the eds like this, the chances of a bitch-slap are pretty high.

    thanks, and have a good one.

    --
    Sent from your iPad.
  41. Question about One Time Pad Theory by GenCuster · · Score: 1

    I have been working my way through Applied Cryptography, in it he makes it clear if the pad ever repeats the system will be broken.

    Now this system randomly generates an equation to generate the pad. Ignoring the question about the true randomness of this pad; wouldn't this system repeat equations every once and a while? If it does won't the plaintext then be vulnerable?

    --
    "The poet presents his thoughts festively, on the carriage of rhythm; usually because they could not walk" Nietzsche
  42. dubious by zook · · Score: 2
    From a quick scan of the article this seems doubtful as a one time pad. Maybe not completely worthless, though...

    Certainly, a one time pad is only a one time pad if it is *truly* random. Unless the machine generating it has a true source of randomness---like a chunk-o'-radium or a pop-a-matic bubble---then they've just pushed the encryption somewhere else, and gained no security.

    It still could be useful to generate such pads, since some devices (cell phones, etc.) don't have much processing power, and this is a way of offloading the encryption to a more powerful machine. Of course, you still need a secure method of transferring the pad.

    But it doesn't sound like this is what they're doing, since they claim not to store the pad anywhere...

    I'm dubious---encryption is only as good as the weakest link.

    1. Re:dubious by psamuels · · Score: 1
      Certainly, a one time pad is only a one time pad if it is *truly* random. Unless the machine generating it has a true source of randomness---like a chunk-o'-radium or a pop-a-matic bubble---then they've just pushed the encryption somewhere else, and gained no security.

      An encryption scheme is only useful if a message can be decrypted by the receiving party. So if you make use of the chunk-o'-radium, how is another machine ever going to reconstruct the original message? Obviously, the remote machine has to have access to the same bits of randomness as the original machine. Which means you have to transmit the key.

      In this case they generate a "key" from a "random mathematical equation". Essentially, the equation is the key, and what they call the "key" is actually just an intermediate data structure.

      OK, say the "equation" in question is a polynomial function of order 10. You generate 10 16-bit random numbers to use as coefficients, and then use the polynomial function to come up with your "one-time pad", which you XOR with the message. Then you send me the 10 coefficients using some ASAD (all-singing-all-dancing) key exchange protocol like Diffie-Hellman or the Prescient ASAD Protocol. Now I construct that "one-time pad" using the order-10 equation, and decode the message.

      Essentially the key strength is 160 bits - because the whole thing can be decoded if you know 10 16-bit numbers. The fact that it uses the 160-bit key to generate a stream of other bits makes no difference. Calling that intermediate stream a "one-time pad" is (-1, Just Plain Wrong).

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    2. Re:dubious by zook · · Score: 1
      An encryption scheme is only useful if a message can be decrypted by the receiving party. So if you make use of the chunk-o'-radium, how is another machine ever going to reconstruct the original message? Obviously, the remote machine has to have access to the same bits of randomness as the original machine. Which means you have to transmit the key.

      Sure. My only point was to say that a one-time pad really must be random. Of course it has to get to both machines, but without a real random pad it's worthless from the get go.

      What they're doing sounds like BS.

      What might be of some use is the following: Put a card in my machine that generates true randomness (radium, pop-a-matic, etc.). When I plug my cell phone into it, it generates a one time pad and distributes it over the line to the cell phone. Now the phone can talk to the computer using the pad with perfect encryption and little processing overhead.

      I don't expect to see this, but at least it's a reasonable situation.

    3. Re:dubious by psamuels · · Score: 1
      When I plug my cell phone into it, it generates a one time pad and distributes it over the line to the cell phone. Now the phone can talk to the computer using the pad with perfect encryption and little processing overhead.

      The OTP must be the same length as the data itself - which limits you to the amount of data that can be stored on the phone at a time. I guess you could extend this by keeping OTPs on CF, but still.

      The thing is, once you get a cell phone intelligent enough where you want to transmit significant data traffic to and from it (I'm assuming you don't want to encrypt voice traffic - think of the size of your OTPs then!), it is probably also fast enough to use other encryption methods. I haven't benchmarked it, but I've heard that ssh with blowfish needs only marginally more CPU than the plain r* utilities. (That's one argument made against adding a "cleartext" crypt method to ssh for when you need the authentication but not the secrecy.) And I understand one of the criteria for the AES contest was that the alg had to be practical on a smart card.

      --
      "How can you claim that you are anti-crack, while still writing a window manager?" — Metacity README
    4. Re:dubious by zook · · Score: 1
      I think we're niggling over nothing here.

      I don't really see much point here either, but this scheme (mine, not theirs) would achieve perfect encryption with little computation on one end.

      Yes: small message; small gain; small benefit.

  43. "Unbreakable" is to "encryption", as... by volpe · · Score: 5, Funny

    ..."unsinkable" is to "ship"

    1. Re:"Unbreakable" is to "encryption", as... by dhamsaic · · Score: 3, Interesting

      Eh, except that some encryption is unbreakable. See HardEncrypt, for example.

      --
      Every once in a while I like to masturbate a new word into my vocabulary, even if I don't know what it means.
    2. Re:"Unbreakable" is to "encryption", as... by Steveftoth · · Score: 1

      The only encryption that is unbreakable is one that cannot be decrypted. You can just do a brute force attack, applying every type of decryption technique with every key to the data until it is decrypted.
      Hard to break encrpytion is what we are really looking for, but as computer power increases, so must the level and sophisitication of our encryption.

    3. Re:"Unbreakable" is to "encryption", as... by dhamsaic · · Score: 2

      I think you need to go read the webpage that I linked to, and more specifically, the link that details why it's unbreakable.

      HardEncrypt is (let me say this again) unbreakable. Click the above link and read to find out why.

      --
      Every once in a while I like to masturbate a new word into my vocabulary, even if I don't know what it means.
    4. Re:"Unbreakable" is to "encryption", as... by BitterOak · · Score: 1
      Just because the owner's of the Titanic claimed their ship was unsinkable, and were later proved wrong, that doesn't mean there are no unsinkable ships.

      In fact, very few passenger ships since the Titanic have sunk.

      And as has been pointed out before, a true Vernam cipher is uncrackable. Just because some in the past have claimed to be using a Vernam cipher, and their encryption was cracked, doesn't change that fact.

      --
      If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
    5. Re:"Unbreakable" is to "encryption", as... by nusuth · · Score: 1

      Apply every possible key with every possible encryption algorithm and you end up with nothing but every possible bit sequence that you know how to derive from that particular bit sequence. Some should make sense, but which one is the one you are looking for? Try decrypt 10000 0s with that, you will arrive a message, but that message will probably have nothing to do with my original message.

      --

      Gentlemen, you can't fight in here, this is the War Room!

    6. Re:"Unbreakable" is to "encryption", as... by Anonymous Coward · · Score: 0

      OK, well, I read the page, and it still looks like a one-time pad, with a message space of "all binary files" and a unique way (do I smell a patent? (and the patent clerk wakes up long enough to stamp 'APPROVED!' on his napkin.)) to further randomize pseudo-random numbers. Nothing really special.

    7. Re:"Unbreakable" is to "encryption", as... by TheRealFoxFire · · Score: 1

      One-time-pad systems are not only unbreakable, they are a form of perfect cryptography. You cannot decrypt the message because any conceivable message of the same length as the pad is a 'valid' decryption.

      The simplest OTP system is XOR applied to the pad and the plaintext, i.e. (P XOR K) where K is the pad. Without K, any P is equally valid.

      That said, OTP systems are generally useless without a provably secure method of distributing the pads. Prescient has a 'proprietary' system for this apparently. This is a big signal to real crypto consumers to run far far away. The second clue-bell is the company's statement that they are 100% confident in it. No good cryptographer should ever feel 100% confident in his/her system.

    8. Re:"Unbreakable" is to "encryption", as... by StevenMaurer · · Score: 2

      You're right of course, but HardEncrypt is still useless, because one time pads are - for all practical applications - useless.

      That's because, as soon as you publish the encrypted version of your file, your "one-time-pad" decryption key must be kept physically secure. And if you have to do that, you might as well have just kept the unencrypted version of your file physically secure in the first place.

      This company is advertising a "have your cake and eat it too" approach, where an algorithm conveniently creates an "unbreakable" one time pad. It's nonsense. But so is the idea of using one-time-pads for security in any real sense.

    9. Re:"Unbreakable" is to "encryption", as... by swillden · · Score: 2

      Eh, except that some encryption is unbreakable.

      Yes. A one-time pad is perfect cryptography. Shannon proved this long ago.

      See HardEncrypt [sourceforge.net], for example.

      Not really. HardEncrypt is a one-time pad implementation. The thing about OTPs is they're only as good as the key bits. HardEncrypt tells the user to record some sound with their sound card and use the resultant file as the key (after a mixing step). This would work fine if sufficient care were taken to extract maximum entropy from the sound input and if the key size were no larger than the extracted entropy. Its documentation goes on at some length about headers in the sound file and the non-randomness they provide, but that's far from the only source of non-randomness. I'm not saying that a message encrypted by a careful user of HardEncrypt would be feasible for anyone to break, but based on the desciption, it's not a good OTP and there may theoretically be enough redundancy in the keystream to allow information to be recovered.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    10. Re:"Unbreakable" is to "encryption", as... by jbf · · Score: 2

      Also, given finite memory, Rip Van Winkle can't be cracked:
      http://citeseer.nj.nec.com/cachin97unconditional.h tml

    11. Re:"Unbreakable" is to "encryption", as... by NearlyHeadless · · Score: 2
      That's because, as soon as you publish the encrypted version of your file, your "one-time-pad" decryption key must be kept physically secure. And if you have to do that, you might as well have just kept the unencrypted version of your file physically secure in the first place.

      No, it is conceivable, because you may be able distribute the keys in a way that is more secure, but less timely than the message. The obvious example is a ship out on the ocean. If you sent them out with a CD-ROM filled with highly random data, you could communicate with them over the radio and still be secure.

    12. Re:"Unbreakable" is to "encryption", as... by inkyfellow · · Score: 1

      A true Vernam cypher is not unbreakable...
      Just extremely, extremely difficult

      And further more this isn't anything like that.
      This is a scam. Plain and simple.

    13. Re:"Unbreakable" is to "encryption", as... by fferreres · · Score: 2

      I'm not really knowledgeable in this field, but doesn't a one time carry a disavantage.

      I am just going on intuition but how can the receiver of the message know whether the source of the original message is trully caming from the expect source, and not a hijacked source.

      Unless the receiver know what he'll be expecting as a message, i cannot forsee how he can be sure to be getting it from the right source.

      Also, if he has to maint an interactive conversation, and can't know for sure what the source is, he could either:

      1 - run out of pads (can't get the message)
      2 - answering more than once with a pad (compromise the messages)

      Even if parties have and infinite secuence of random pads, they can never know whcih ones the other party has already "wasted" in hijaked messages.

      So to truly be called perfect encryption, there must be a way for perfect autentication of message sources, and this can be a problem. Of course they can agree on further rules for origin validation, but this imposes other vulnerabilities.

      This is just a guess so don't slap my face please. Just point me in the right direction for further reading and I'll be glad to learn the answers.

      Thanks!

      --
      unfinished: (adj.)
    14. Re:"Unbreakable" is to "encryption", as... by lowy · · Score: 1
      None of the issues you mentioned are disadvantages of One Time Pads (OTP):

      how can the receiver of the message know whether the source of the original message is trully caming from the expect source, and not a hijacked source.

      If the receiver can read the message he knows it came from the correct source. Any other message would "decrypt" to random bits (the OTP is random and unknown to man-in-middle). For total certainty one can include a checksum prior to encryption.

      Even if parties have and infinite secuence of random pads, they can never know whcih ones the other party has already "wasted" in hijaked messages

      You can overcome this easily by numbering the random pads, sending this index (in the clear) along with every encrypted message, and (of course) ensuring that you never reuse the pads by destroying them *immediately* after use.

      The primary disadvantage of OTP remains the pad distribution problem.

    15. Re:"Unbreakable" is to "encryption", as... by fferreres · · Score: 2

      Any other message would "decrypt" to random bits

      What if you don't know what you'll receive? A binary file? A sound recording? And if it's text, they may as well bombard you with false messages, and if 1 makes sense, you lost the index.

      For total certainty one can include a checksum prior to encryption.

      Can't the other party do that as well? Unless it's a secret checksum algorithm...what if they the checksum gets compromised and you don't know? You may end up accepting false "messages".

      sending this index (in the clear) along with every encrypted message

      Is the index coming from the right source? The problem is still there i guess...

      I can see the unbreakability of one time pads, but i can feel there are other disadvantages. What we have know can sign stuff and authenticate. One time pads cannot (by themselves)...

      --
      unfinished: (adj.)
    16. Re:"Unbreakable" is to "encryption", as... by lowy · · Score: 1
      What if you don't know what you'll receive? A binary file?

      Why assume that there is no structure to the messages? Require that all valid messages contain XML headers describing message number, bytes count, checksum, filename, etc. Are you worried that an adversary will send enough random messages to fake all the above and still get the checksum and byte counts correct? Ok, then add an arbitrarily large number of digits of pi till you are happy.

      Can't the other party [include a checksum]?

      No, not a valid one. The adversary doesn't know the OTP.

      Is the index coming from the right source? The problem is still there i guess...

      Nope. Let's say Bob receives an encrypted message claiming to use index nnnn. He XORs it with OTP nnnn and if the message does not decrypt to expected headers with valid checksum he simply rejects the message as bogus. The index does not have to be serial, by the way.

      One time pads cannot (by themselves)...

      Who said they have to be used by themselves?

    17. Re:"Unbreakable" is to "encryption", as... by fferreres · · Score: 2

      lowy, thanks for the answers. Looks really promising. The needing of a structure or authentication or validation is ok, but must be an integral part of any such implementation and carefully integrated so that it will hold that any possible decription is ok (else, the structure could provide a means to narrow the posssible messages).

      --
      unfinished: (adj.)
  44. Snake Oil FAQ by jburst · · Score: 1
    Okay, /. editors, this is required reading before you post another crypto article:

    http://www.interhack.net/people/cmcurtin/snake-oil -faq.html

  45. The code to do this by Meridun · · Score: 1

    Function XorEncode(ByVal StringData As String, SeedKey As Long) As String
    Dim i As Long
    Dim strTemp As String

    Rnd -1
    Randomize SeedKey

    For i = 1 To Len(StringData)
    strTemp = strTemp & Chr((Asc(Mid(StringData, i, 1)) Xor (Int(Rnd * 255))))
    Next i

    Randomize
    XorEncode = strTemp

    End Function

    Oh, how friggin hard...... please.

    1. Re:The code to do this by Meridun · · Score: 1

      Oh, and yes, this is breakable. It's not nearly so easy as a standard XOR cipher, but it is BY NO MEANS, unbreakable.

    2. Re:The code to do this by Anonymous Coward · · Score: 0

      For i = 1 To Len(StringData)
      strTemp = strTemp & Chr((Asc(Mid(StringData, i, 1)) Xor (Int(Rnd * 255))))
      Next i

      I know this is a joke... but I see mistakes like this all too often in real production code so I thought I would mention it. You shouldn't build up strings character by character in VB (and most other common languages) as performance will go into the trash because the operation requires the allocation of a temporary string every interation. Calculate the size of your output string beforehand and allocate it as a fixed length string... or allocate it as an array and perform your operations there.

    3. Re:The code to do this by Anonymous Coward · · Score: 0

      What self-respecting geek uses Visual BASIC?
      I'm ashamed of you.

  46. Re:People do this with hash functions all fo the t by westfirst · · Score: 2

    What's missing here is a definition of snip(). It's a good idea to leave out many of the bits at each stage. SHA produces 160 bits, for instance. Let snip(b1) take the first 80 bits of b1 and ignore the rest.

    Let + stand for concatenation.

  47. the Mythical Secure setup channel by ProfessorPuke · · Score: 1

    Many supposed crypto-breakthroughs actually boil down to simply moving your vulnerable channel from one time/place to another. In this case, the message itself might be "secure", but the the initial communication to establish the keys for that message won't be (and, if intercepted, can decode the entire message).

    Shifting the point of vulnerability is a useful approach in many cases (maybe not this one). Its actually the basis of One-Time-Pad's effectiveness. In a normal OTP, you transfer the key first via physical travel, and then send the message electronically sometime later. This allows you to impose physical security on the key (your courier is well-armed!!), which then extends up to the later message itself.

    However, that only works if the participants are willing to go through the extra hassle and delay of recieving pads by armored car. (And they pay the deliverymen too much to be bribed, etc...). It's unlikely that a commerically successful business could be built from this, since customers won't be likely to wait that long. If you try to transmit your pads over the internet, as opposed to some "inherently trustworthy" medium, then the only benefit over regular cleartext emails is the extra latency it'll take for hackers to decide that E2Sec is an interesting target.

  48. Take a secure method and add multiple weaknesses.. by Jelloman · · Score: 3, Insightful
    I'm no encryption expert but this whole thing looks pretty pathetic to me.
    • "...anyone who logs on through a Web browser or Internet link will automatically be given an encrypted connection. A small 4- to 10-kilobit file, a bit like a Web cookie, is loaded into the client computer's memory."
      So the program is transmitted through breakable encryption.
    • "The file contains a program to generate random encryption keys, so that the keys themselves don't have to be sent over the network connection."
      So the keys are generated using a pseudo-random number generator, which makes them quite guessable.
    • "The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient..."
      Then the key is transmitted over the network via breakable encryption, which they just said they wouldn't have to do.

  49. Why wouldn't people use stream cipher instead ? by apankrat · · Score: 1

    Throw in some salt and CBC to mix things better ..

    --
    3.243F6A8885A308D313
  50. Re:Can't anyone use their heads at /. ???? by Hemos+(editor) · · Score: 0, Flamebait

    If you don't like it here, leave. Your dozens of pageviews per day only cost more money for Slashdot, and the fact that you don't subscribe doesn't help matters.

    Don't let the door hit you on the way out.

  51. Very likely just rubbish by tempmpi · · Score: 3, Insightful
    The file contains a program to generate random encryption keys, so that the keys themselves don't have to be sent over the network connection

    Working OTP encryption requires the random numbers to be truely random, a computer programm can't do that. You need a source of randomness in the computer like the user or a special hardware random generator. The user isn't a solution for random numbers for OTP because you need a lot of random numbers and the user will have to type or move his mouse for a very long time until he has produced enough random numbers for a OTP encryption of a short file.

    The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information it sends back to the client, and then the key is destroyed and a new one is created.

    Here the real problem of it. OTP encryption is only secure if no one can get his hand on the One Time Pad. If the OTP is transmitted over the internet, someone could easily get the OTP. If it is transmitted using a "secure process". The encryption is only as save as this "secure process". If this process is breakable, the whole encryption is breakable.

    The "secure process" is also only known to Prescient. Everyone knows that "Security through Obscurity" doesn't work.
    --
    Jan
    1. Re:Very likely just rubbish by schof · · Score: 1

      Working OTP encryption requires the random numbers to be truely random, a computer programm can't do that. You need a source of randomness in the computer like the user or a special hardware random generator. The user isn't a solution for random numbers for OTP because you need a lot of random numbers and the user will have to type or move his mouse for a very long time until he has produced enough random numbers for a OTP encryption of a short file.


      Your conclusions are correct (this system is crap) but some of your points are not. (I'm being nit-picking.) The problem with OTPs isn't generating the bits (at least for short messages). For a OTP, you need only as many bits as are in the message. For a 256-byte e-mail (256 letters) you need only 256 bytes worth of truely random data. The problem gets worse because you can not (or at least, should never) reuse a one-time pad. Still for small messages, this isn't the biggest burden. The biggest burden for any size OTP is that you need a secure way of getting the same OTP to both ends of a conversation. You can't do it electronically -- if you have a secure method of communicating electronically, what do you need the OTP for? Use the secure method! Pretty much you're limited to physically handing someone the OTP -- which is why OTPs have traditionally been limited to governments who don't mind sending folks around the world with briefcases handcuffed to their wrists.

  52. C'mon, we know it's EASY! by Anonymous Coward · · Score: 0

    A one-time pad encryption is easy, fast, and works GREAT. No key exchange is needed. The pad need not be known be either party, really, and can be truly random.

    Decryption is more difficult...

  53. Re:Can't anyone use their heads at /. ???? by Anonymous Coward · · Score: 0


    Number of times 'fuck' was used in the post: 6 times

    Number of exclamation and question marks used: 9 times

    Using the word 'fuck' with lots of punctuation to sound like you know what you are talking about: Priceless

  54. There's no such thing as Unbreakable by Zspdude · · Score: 2, Interesting
    (IANAC) I am not a cryptographer. But... There's a couple holes in this which indicate that it is not perfect(and what is)?

    The file contains a program to generate random encryption keys, so that the keys themselves don't have to be sent over the network connection.

    The "book" method cannot be cracked by intercepting the message, true. How to solve this method? Steal the book. As has been pointed out in several previous stories of this genre, encoded data at some point has to be decoded and that makes it vulnerable.

    The client generates a series of random numbers to use as an encryption key.

    There's no such thing as a truely random number. There will be a way, no matter how difficult, to predict pseudorandom numbers. Especially if you've got a copy of the random number charts already. (Perhaps stolen the book?)

    Exceptionally difficult to break, this encryption may be. But it is not unbreakable.

    --
    What's in a Sig?
    1. Re:There's no such thing as Unbreakable by Anonymous Coward · · Score: 0

      Of course there's such a thing as a truely random number. If there isn't, then pretty much all cryptography theory has suddenly become useless.

  55. As the article states... by Sheepdot · · Score: 1

    The "security" of this depends entirely on how secure each decryption tool is on each side of the transmission.

    Not only that, but compromise of one side comromises the other side, meaning that although you have a secure box on your end, if the other box isn't, then the information sent can be just as vulnerable as any unencrypted data.

    This isn't exactly a breakthrough either, since it's based on an old system that even an 8 year old could conceive given time. In fact, remember decoder rings? Same concept, though on a much larger scale.

    And this method still doesn't solve the problem of establishing an unbreakable communication line over a medium such as the Internet. In fact, I'd hate to say it, but because the security of the transmission relies on the security of either side, I don't think this is even newsworthy.

    1. Re:As the article states... by clarkgoble · · Score: 1

      More importantly most insecurity arises because of users, not the encryption mechanism you use. Yeah if you are the NSA or something then all this matters. But for most users typical encryption is fine. When things get cracked it is because of dumb ass things you did that gave away your key or so forth. Now if you are a careful user, that's not a big deal. If you are in a corporate environment and the secretary has to remember all these keys, chances are there will be notes written down in insecure places and so forth.

      It always amazes me how much focus for security is placed on code rather than users. It's like firewalls. You could have the best firewall in the world, but chances are the typical user buying it will install it in an insecure fashion.

  56. A complete laugher by Anonymous Coward · · Score: 0

    The complexity of each random page in the "book" makes it nearly impossible to crack the code. And even if someone intercepts the message, there's no pattern to it that might help them decode the entire transmission.

    No, it's the randomness of the data on the page that makes it impossible to crack, not the complexity.

    We've found an electronic way of handling those complex keys, and of regenerating them dynamically so that lists of keys don't have to be stored anywhere," Mr. Kassam said.

    Game over. If the keys are being generated by a program, then they aren't random.

    First, a special encryption system is added to a company's server. It can be used to encrypt things like e-mail, e-commerce transactions and Web browsing sessions, or more complex communications such as access by mobile workers to corporate mainframes and databases. The application takes a couple of weeks to set up on average according to Mr. Kassam,

    Translation: The application takes a couple of weeks of billable hours to set up. Christ, how much Quake can those engineers play?

    A small 4- to 10-kilobit file, a bit like a Web cookie, is loaded into the client computer's memory. The file contains a program to generate random encryption keys, so that the keys themselves don't have to be sent over the network connection. The program is so tiny that even the low-powered processors in a cellphone can run it with ease, Mr. Kassam said.

    First, no program can generate random encryption keys. Every software random number generator creates patterned numbers. Claiming that this system is like a one-time pad is nothing short of complete fraud!

    "Competing systems have to have a lot of processing power available, because they do a lot of number-crunching as part of the encryption and
    decryption process. But this program is mostly a complex number-generator," he said.


    Translation: Competing systems have to have a lot of processing power available, because they perform strong cryptography.

    The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process
    known only to Prescient,


    Got that? The entire system is dependant on no one ever reverse-engineering the key protocol!

    the server uses it to encrypt any information it sends back to the client, and then the key is destroyed and a new one is created. This process is repeated every time information is exchanged between the client and the server, making it virtually impossible for outsiders to decrypt the information.

    I wonder if any of these engineers have any crypto design experience whatsoever.

    The system can be accessed with any standard Web browser, but Mr. Kassam said his company can also embed the security system in chips for cellphones, handhelds, network cards and modems. For example, he said security-conscious companies might choose to issue special e2Sec-enabled modems or network cards to any employees who must access a company network from home or on the road.

    In other words:

    1) They are depending on no one reverse engineering their key transmission algorithm.
    2) The key transmission algorithm is published as a browser plugin.

    They must have one hell of an industrial strength click-through license to prevent anyone from reverse-engineering their browser plugin!

    A team of engineers at Prescient worked on the system for four years before it was ready for public use, Mr. Kassam said.

    Not cryptographers, but engineers designed the system. That would explain the laughable design. CSS anyone?

    "We're 100-per-cent confident in our technology," Mr. Kassam said. "To give an idea of how difficult this is to crack, many organizations consider 128-bit encryption, which has a [cryptography level] of two to the power of 128, to be very secure. With e2Sec, we're talking about encryption in excess of 5,000 bits, and as much as two to the power of 10,000."

    128 bits beats 5000 bits from a pseudo-random generator any day. Besides, if they were really "100%" confident in their scheme, they wouldn't depend on the keys being transmitted "through a secure process known only to Prescient."

    Mr. Kassam said Prescient has already piqued the interest of several corporations and phone companies. "We're cheaper than anything similar that's available out there," he said.

    Finally, the punchline. Not only is our Sekret Protocol algorithm Leet, but it's CHEAP!!

    Well, I suppose you get what you pay for ...

  57. That is in fact a correct message by Anonymous Coward · · Score: 0

    Congratulations, dumbass

  58. Snake Oil by Anonymous Coward · · Score: 0

    This is clearly bogus. By definition a one
    time pad has a shared set of encryption keys
    at the sender and the receiver. So when the
    article tells us: "with nothing installed on
    the client side" you know immediately that
    it is not a one time pad, which by definition
    has "software" on the "client" side. Perhaps
    they are sending the "pad" over a channel, but
    then the encryption is only as secure as that
    channel.

    Of course, it would be possible to have a
    secure channel, (such as downloading the pad
    at the office into your laptop), but if it
    is going over the PSTN then it is only as
    good as that link's cypher.

    Should also say, that this software seems to
    use generated "random" digits. Clearly then
    breaking the generator function also compromises
    the "one time pad." However, it should be noted
    that there are devices that can generate truly
    random numbers, and these could, in combination
    with a secure channel (bring the laptop to the
    office) offer genuinely unbreakable encryption.

  59. Uuuuh yea. by Anonymous Coward · · Score: 0

    Do you work for that snake oil salesman Mr. Kassam?

  60. Re:Can't anyone use their heads at /. ???? by brer_rabbit · · Score: 2

    I sometimes wonder if the eds intentionally post crap, just to get companies shot down. And what exactly will Prescient's venture capitolists say when they learn that the geek public thinks Prescient's product is worth crap?

    I mean really, I doubt Timothy is trying to sell this to us. He's just preaching to the choir. And if Prescient was public he probably would of shorted a couple hundred shares before posting the story...

  61. Re:Damn you 19 SECONDS by Anonymous Coward · · Score: 0

    You're supposed to drag it through months of red tape first..

    The Logged In Anonymous Coward

  62. Not a one-time pad by Ouija · · Score: 1

    Specifically, if an equation is used, it's not a one-time pad because the data was generated deterministically. Duh. You need real, unrepeatable random data. Computers using only math functions can't possibly generate this.

    Simply XORing or otherwise slapping pseudorandom garbage over plain text does not make a secure system. Look at how a tiny flaw in the implementation of RC4 in wireless networking makes the system crackable in linear time!

    The big problem with a one-time pad is that you're left with keys the size of whatever message you intend to send. And since a real one-time pad CAN'T be generated deterministically (thus its security) the pad must be somehow shared between the two parties.

    At best, they have re-invented the symmetric cipher- or something that approaches its intended function. Of course, never, ever trust a new cipher without a good long time of testing and proper cryptoanalysis.

    Whoever is doing this is very, very likely selling snake oil. My suggestion is to pick up a copy of GPG, configure to use AES-256/3072 bit public keys and be happy.

    --

    -Ouija- poke 53280,11:poke 53281,12
  63. WRONG by Anonymous Coward · · Score: 0

    > First off, the OTP is completely 100% unbreakable [in theory]. Even with infinite time an OTP is unbreakable.

    Wrong. Given infinite time, a monkey will eventually bang out the contents of the OTP. Nothing is unbreakable given infinite time. Period.

    1. Re:WRONG by tomstdenis · · Score: 1

      Actually you are wrong.

      Let me use a simple example.

      I have a 1 bit message M, I make up a random pad K and give you the ciphertext C=0

      Guess all values of K... e.g.

      K=0, then M=0
      K=1, then M=1

      But the problem is both K=0 and K=1 are EQUALLY probable. So even if you guess my pad you can never stop and determine "this is the message".

      This extends logically to the cases when K is more than a single bit. Say K is 100 bits. You might randomly happen upon the right 100 bits but you can never tell if its more right than any other 100 bits.

      So mr. AC if you are going to reply try being right!

      Tom

      --
      Someday, I'll have a real sig.
    2. Re:WRONG by Anonymous Coward · · Score: 0

      This is what happens when non-mathematicians try to argue mathematics. One is arguing possible and another is arguing probable.

      Given infinity, guessing what the message is is possible. But it is not probable that you know the message is correct.

      But answer me this, how do you know when any encryption is broken? Eventually, you will find that the one key that unlocks the message makes the message make sense. Your example is perfect for this. Yes, a one bit message will have a probability of being correct 50% of the time. But a more likely message of say 1024 bits will have a much smaller probability of being correct. If you are trying to crack something, you know something of the message being sent. Therefore you know when the message is cracked.

      Check your semantics next time you try to argue mathematics.

    3. Re:WRONG by RealityCrutch · · Score: 1

      Well not exactly.

      Mathematically you are correct, but language itself is non random and narrows the possibilities of the probable text.

      This can be countered, I think, if one writes obscurely or encrypts the text asymmetrically first. The key is to foil any language heuristics the breaker might employ.

    4. Re:WRONG by Anonymous Coward · · Score: 0

      Let's bomb them tonight.

      Don't bomb them tonight.

      Oops, which one is right?

    5. Re:WRONG by tomstdenis · · Score: 1

      Actually again you yourself are wrong.

      Say you have a 1000 bit message but only 2^64 of them are plausible english text. All of the remaining possible messages are EQUALLY probable.

      Tom

      --
      Someday, I'll have a real sig.
    6. Re:WRONG by tomstdenis · · Score: 1

      Again you are wrong.

      How you break a block cipher by brute force is exploiting the unicity distance [sp?], for example, the likelyhood that a single block decrypts to english under a random key is not amazingly low.

      The probability that multiple blocks decrypt under the same random key to english is lower.

      That is how you can break a block cipher using brute force.

      The same is not true for an OTP. So seriously, go take a math class or two before coming back here.

      Tom

      --
      Someday, I'll have a real sig.
    7. Re:WRONG by swillden · · Score: 5, Informative

      Given infinite time, a monkey will eventually bang out the contents of the OTP.

      Sure. The question is: How will you know it when you see it?

      The monkey will bang out every possible n-bit sequence. Applying them all to the n-bit encrypted message will give you every possible n-bit message. So you'll get all of the following:

      • ATTACK AT DAWN
      • ATTACK AT NOON
      • EAT MY DORITOS
      • LICK MY PENCIL
      • I BROKE AN OTP
      • ...

      So, how, exactly, will you know when you've found *the* message?

      That's why an OTP is provably unbreakable. Because every pad is equiprobable. And that's why no algorithmically-generated pseudo-random sequence can be used for a one-time pad.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    8. Re:WRONG by RealityCrutch · · Score: 1

      That would be true if that were the case.

      The number of well formed sentences would be far fewer than 2^64.
      I do not disagree that all plausible texts would be equally probable. The problem is how one defines plausible.

      Also, the longer the message, the fewer candidate sentences you would get.

      Think of a Turing test and you'll begin to see why.

    9. Re:WRONG by tomstdenis · · Score: 1

      I agree that there will be fewer source language candidates than raw candidates. That doesn't change the rest of my argument.

      Tom

      --
      Someday, I'll have a real sig.
    10. Re:WRONG by flux · · Score: 1

      Let's say I'll use XOR as the encryption algorithm with one time pad. I shall choose a random secret key, and encrypt a message with it. Here is the secret message encrypted:

      AAAAAAAAAAAAAAAA

      Now, if you don't know my key, how on earth are you going to decrypt this out of it:

      Hello world!PADP

      You might figure out with the mighty forumlas or propability that it -might- contain that message, but OTOH, it might contain any other message just as propably. The minimum length of the message is the only thing the encrypted text is revealing.

      My secret key happened to be 9:36:45:45:46:97:54:46:51:45:37:96:17:0:5:17. Had it been an actually randomly selected series of bytes _without_ correlation to the plaintext, the situation would still be the same: the encrypted data does not tell anything about the original data, without the key.

    11. Re:WRONG by Anonymous Coward · · Score: 0

      suppose you have a cd of yourself, playing the
      guitar. but, maybe you don't want anybody besides
      your friend, alice, to hear the cd. so, you take
      another cd, and fill it up with random bits that you
      gather from atmospheric noise or some such. then,
      you make a third cd by XORing the first cd and the
      second cd. this is your ciphertext. you mail this
      cd to alice. through some secure channel, you give
      alice a copy of your random cd. then, she takes it
      and XORs it with the ciphertext cd, producing the
      original music cd, and listens to it.

      but wait! mallory intercepted the ciphertext and
      wants to listen to you playing the guitar. but,
      he doesn't know what one time pad was, i.e. the
      cd full of random atmospheric noise. fortunately,
      mallory has a infinitely fast computer. he pops
      the encrypted cd into his computer, and writes
      a program to brute force the OTP.

      here's the catch: the key is as long as the data.
      his computer, being infinitely fast, will try
      every possible key instantly.... and produce
      every possible cleartext! so now, in addition to
      the cd of you playing the guitar, he also has a
      cd of you playing the tuba, a cd of you reading
      the gettysburg address, a cd of abraham lincoln
      reading the gettysburg address, a cd telling the
      whereabouts of jimmy hoffa, a cd with the true
      events surrounding the kennedy assasination, a cd
      telling him to fuck off, in addition to a large
      pile of cds with nothing but white noise.

      if that doesn't convince you that OTP is unbreakable, read "the library of babel" or
      stanislaw lem's "cyberiad" (which contains a story
      about a thermodynamic demon of the 3rd kind).

      HTH, HAND

    12. Re:WRONG by Anonymous Coward · · Score: 0

      Who gives a fuck? You could have just guessed those messages knowing only the length of the encrypted message. The rest of the contents of the encrypted message tell you nothing. And in fact, you're wrong about longer strings having fewer possible sentences, because you could have, say... paragraphs or chapters or books, or even random garbage padding.

    13. Re:WRONG by Sycraft-fu · · Score: 3, Insightful

      Doesn't matter, it's STILL 100% secure (again assuming the pad is truly random). The thing is you just DON'T KNOW what it is that I'm trying to say in the message. Even if you can guess, it doesn't help you. You don't know what is plausable or not ebcause you don't know what I'm trying to say. IF you did, you wouldn't need it decrypted. Even if you have a general idea, it doesn't buy you anything. Suppose you know I'm going to tell the guy on teh other end to meet me at certian coordiantes. Fine, you don't know how I chose to phrase that, so you have nowhere to start in the decoding. However for argument's sake say you even know the exact for of teh message. You know I will write it like this:

      "I will meet you at the folowing location: XXX XX by XXX XX" where the Xs are the degrees and minutes of the two coridnates. Still buys you nothing, you can decode those into any combination of cordinates you want and yuo have no way of knowing which one is correct.

      The problem is with a one time pad, like the orignal poster indicated, literally ANYTHING within that space is possable and since it is truly random (if done right) you just can't know when you have the right answer. You might decode something that you belive to be perfectly correct, it looks totally plausable, and still be dead wrong. You'd do just as well guessing at random with messages the same length as the encrypted document.

      Further, you have no way of knowing or being able to tell if what I send was in the form you expected. Maybe it's all BinHExed, maybe it's gziped, maybe it's ROT-15'd. You just can't know.

      If you want to try it I'd be happy to generate you a message encrypted with a one time pad and you can try to crack it. I'll even be generous and tell you the prices format it's in and tell you what the topic is. You'll still never crack it, and that's more information than you'd normally have when dealing with a message so encrypted.

    14. Re:WRONG by RealityCrutch · · Score: 1

      I didn't say longer strings having fewer possible sentences, I said fewer plausible sentences. You must remember that the longer the message the more improbable a coherent context will occur at random.

    15. Re:WRONG by DavidTC · · Score: 1
      Your arguement makes no sense. ALL combinations are equally likely. You understand that?

      It doesn't matter if you know the message is the exact time and place the bombs will ship, you can't tell if it's:
      The bombs are coming it at 4:54 on Thursday.
      or
      The bombs will be here at 1 am this Tuesday.
      or
      Let's forget the whole bombing and join EFF.

      There is literally no way to tell the difference. You can know the entire context of the message, you can know the sender and recipient, you can know every thing except the actual wording of the message, and you still don't know the message.

      OTP is unbreakable, period, for exactly this reason. There is no way to tell if you've decrypted the correct message. In fact, you might was well make up your own random string and decrypt it, you'll have just as much luck.

      To repeat, when 'decrypting' a OTP, every single character in it could be representing any character, and there is no pattern. With a very improbably OTP, this comment could be the first X characters of the constitution.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    16. Re:WRONG by DavidTC · · Score: 1
      What on earth does 'random' have to do with anything? Is that how you think you decode OTP, you invent random streams of bits till one of the results in a 'plausible' message?

      How likely it is that a X length randomly selected string is a real message doesn't change the fact you'd end up with all 'plausible' messages of length X or less as your 'results' to this decryption.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    17. Re:WRONG by nerdwarrior · · Score: 1

      You retard. You can crack a PRNG-based "O"TP with a known plaintext/ciphertext attack. And, yes, it's easy to get plaintext.

    18. Re:WRONG by swillden · · Score: 2
      Which is why I said:

      And that's why no algorithmically-generated pseudo-random sequence can be used for a one-time pad.

      Learn to read next time, huh?

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    19. Re:WRONG by Anonymous Coward · · Score: 0

      It's not a one-time pad if you use a PRNG, dimwit.

  64. And even Hemos probabbly..... by YoPt · · Score: 0

    got his story rejected months ago. Only to have it now appear. heh.

  65. Re:Can't anyone use their heads at /. ???? by Anonymous Coward · · Score: 0

    That the editorial staff are morons (and insist on demonstrating that again and again) doesn't help matters much either, but you aren't so snide about that.

    At least when Slashdot was free we knew we only get what we paid for. Now that you are a fully commercial entity, you ought to remember "the customer is always right."

  66. Re:Can't anyone use their heads at /. ???? by Silver222 · · Score: 3, Insightful
    On the other hand, some might say stories like this are a damn good reason not to subscribe. I read the National Enquirer in the line at the supermarket, but I don't buy it.

    --
    "It's not a war on drugs, it's a war on personal freedom. Keep that in mind at all times." Bill Hicks
  67. Reminds me of Tristrata... by The+Fanfan · · Score: 1

    Tristrata was a company that came around 2 years ago with broad claims to have invented a new type of cryptographic protocols as strong as one time pad with all sorts of new nifty super duper algorithms. Gobs and gobs of money were dumped onto the company. And when the "revolutionary" system was opened to public scrutiny, it was immediately exposed as just a big heap of obfuscation over run-of-the-mill cryptography. Tristrata went under in early 2001, if I remember well...

    This article (and company) smells very strongly of Tristrata-ism. A comment about the one time pad algorithm is revealing:

    The complexity of each random page in the "book" makes it nearly impossible to crack the code. And even if someone intercepts the message, there's no pattern to it that might help them decode the entire transmission.

    Duh! The randomness of a one-time pad is not complex, it's random. It's not "nearly
    impossible to crack". A one-time pad is impossible to crack by interception of the cypher text. Period.

    Another one is fairly good too :

    The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient,[...]

    Yeah, right, whatever. And what's this "secure process known only to Prescient", please, pretty please ? A courrier running around with floppy disks, may be?

    I'm not going to bash those guys any longer. I can't exclude they have a few good ideas here and there. I don't know. But the article itself is pure puffery. A new one-time-padish cypher without a one-time pad is about as likely as perpetual motion.

    Sig: You can't see my $0.02. They're one-time pad encrypted.

  68. Re:Can't anyone use their heads at /. ???? by Anonymous Coward · · Score: 0

    I'm going to start posting this every time it happens.

    It's not all of Slashdot. It's just this Timothy fellah. Look at the poster of the article when you say to yourself "This is dumb. This shouldn't be here!" and I'll bet 9 times out of 10, Timothy posted it. He posts the stupidest, oldest, most untrue, FUD articles he can find. I think I'm going to fucking filter him.

    So place the blame where blame is due.

  69. This is only "pseudo-random" by rdmiller3 · · Score: 2, Informative
    The main strength of the one-time pad is that each and every element is as completely random as possible. The theoretical "amount of information" in a stream of such random data is approximately equal to the size of the stream.

    This system is using a pseudo-random number generation algorithm, albeit a changeable one, which means that with a very small amount of data it is possible to completely predict the entire key stream. That means that the "amount of information" really contained in that stream is very small, since a small algorithm completely defines it.

    This is what one of the other posters was referring to as "key space". How much information must be guessed in order to decode the message?

    For these snake-oil vendors, the amount of information that needs to be guessed to decode a message is only as big as the pseudo-random algorithm (or likely smaller, since these guys obviously don't know what they're doing). If you crack the beginning of a message, you've cracked the whole message no matter how large.

    For a real one-time pad though, the amount of information which must be guessed is as big as the entire message. No matter how much of the message you "crack", you'll have no more advantage to cracking the rest than you did before. Each element is random. There is no "method" to predict random numbers and so there is no way to crack a true one-time pad.

  70. just as unbreakable as... by greymond · · Score: 2, Funny

    say oracle claimed to be ....

    honestly no matter how or what you use to encrypt things given a long enough time span someone WILL break it

    much like on a long enough timeline the average survival rate WILL equal zero

  71. Re:Can't anyone use their heads at /. ???? by inetd · · Score: 1

    He'd be defrauding investors by skewing data about the company indirectly, and be sued by the SEC.

  72. Re:Can't anyone use their heads at /. ???? by ajs · · Score: 2

    Mr. Pig Hogger,

    The atrocious content of your sig not-withstanding, I ask that you read the whole article before quoting part of it in a reply.

    Your comments were echoed by said editorial staff in the article as it appears on the front page.

    Meanwhile, could someone moderate this karma-bomb down? I'd like to think that swearing a lot and then repeating a standard slashot rant (right or wrong) is not woth a positive moderation.

    Thanks.

  73. How many times.... by Anonymous Coward · · Score: 0
    ...do people like Bruce Schneier have to say it, before people finally start rolling their eyes and laughing at stories like this?

    It's only a one-time pad if you're using actual random data! If you're generating the data with some kind of formula, as these people are doing, it's just plain encryption, and if the company is calling it a "one-time pad" it qualifies as snake oil. If you're not exchanging as many true-random bits as you're encrypting, it's not a one-time pad. Anyone who thinks this company should be granted any credibility at all should go to counterpane.com and browse the monthly newletter archives for an hour or so.

  74. OTP can be broken, given the right circumstances by Anonymous Coward · · Score: 0

    Given infinite time, any, and I mean any, encryption can be broken.

    Proof is that the probability of guessing the correct key increases as the length of time spent guessing increases. In other words, as time approaches infinity, the probability of guessing the correct key approaches one.

    Any monkey given infinite time can bang out the duplicate of a OTP.

    Yes, this is a matter of semantics, but if you are going to argue mathematics, you need to be exact.

  75. boxen? by Anonymous Coward · · Score: 0

    boxeS.. whoever came up with the word boxen should be shot. Along with the fagots out there saying VAYKAY instead of VACATION

  76. correct conclusion, wrong reason by Hoo00 · · Score: 1

    The right explanation is:

    A one-time pad is secure because there is no way to figure out the keys without the codebook. Once you transmit the keys, this is no longer true.

  77. EE rip-off in the name by tomstdenis · · Score: 1

    E^2 is a block cipher, so the E^2-sec is just a ploy on the name of the block cipher.

    FYI, E^2 was a AES submission by NTT Japan. Last I heard it had some security flaws but that doesn't discredit the argument.

    Tom

    --
    Someday, I'll have a real sig.
  78. Re:Can't anyone use their heads at /. ???? by Hemos+(editor) · · Score: 1

    At least when Slashdot was free we knew we only get what we paid for. Now that you are a fully commercial entity, you ought to remember "the customer is always right."

    How is Slashdot not free anymore? Is subscription mandatory? No. Does /. charge fees for user accounts? Nope. Are there extra fees for posting comments? Uh-uh.

    Please explain yourself. The fact that Slashdot was bought-out by another company doesn't necessarily make it non-free all of the sudden.

    Proud supporter of m o n o l i n u x

  79. nonsense ... MAYBE by debrain · · Score: 2

    In an effort not to pre-judge - I looked at their whitepapers @ http://www.prescient.net/Solutions_e2Sec.htm

    And their paper on this has some merit:
    http://www.prescient.net/pdf/e2Sec.pdf

    But I am not qualified to debate its merits. I don't believe that a public newspaper will have the technological background to satisfy the slashdot folk who like that sort of thing.

    1. Re:nonsense ... MAYBE by Anonymous Coward · · Score: 1, Interesting
      I'm not qualified either, but I'll do it anyway :)


      That paper puts things in a completely different light. There is no mention of "one time" pads in there, instead they're claiming that they have a way to encrypt that "is not structured and uses no algorihtms", and therefore can't be reversed. The question then becomes, what the Hell is it?


      They discuss pseudocode randomly chosen from "millions" (which would be, what, 20 bits?) of possible choices. "External factors" are then mixed in so one message gets multiple outputs. That seems to be it, basically.


      It seems to me that they're relying on the unique version of their "non-deterministic" code for the security. This is security through obscurity in its most basic form. Without more information on this wondrous core engine, I cannot say any more.

  80. To quote Bruce Schneier.... by ebonkyre · · Score: 1
    (speaking in reference to a Usenet post touting a new computational method for generating OTP's)
    "Oh dear, is it time for another one of those, again?"
    --
    "Time is an abstract concept devised by carbon-based lifeforms to monitor their ongoing decay." - Thundercleese
  81. Not just for security... by bigdoof · · Score: 1

    Looks like this is humor by obfuscation.

  82. Re:OTP can be broken, given the right circumstance by plam · · Score: 2, Insightful

    No, this is incorrect. OTP is secure in the following fashion:

    Consider aaaaa as an OTP encryption of something. Then, hello and quack are equally good decryptions, and there's nothing that tells you what the original message was.

  83. Sounds like... by cutecub · · Score: 1


    ...Fodder for the next issue of Bruce Schneier's Crypto-Gram...

  84. the sounds your sister makes are totally random by Anonymous Coward · · Score: 1, Funny

    when we're doing "it"

    bwahahahaha

    sorry, couln't help it. Slashdot needs some sister jokes.

    1. Re:the sounds your sister makes are totally random by Anonymous Coward · · Score: 0

      Hell yeah!

  85. "One time pad"+modifications ISN'T A ONE TIME PAD by IvyMike · · Score: 3, Insightful

    Dear Slashdot editors: A one-time pad is provably unbreakable provided you meet the very strict, precise definitions for what a one-time pad is.

    Once you make the slightest change, it's no longer a "one-time pad", it's "a new unproven proprietary crypto system." There are NO exceptions to this rule. Any time you post a story that says, "Company X has a one-time pad system that is different than other one-time systems", they don't really have a one-time pad system, and you're just promoting their snake-oil for them. The OTP unbreakability is a mathematical proof, and you can't change the axioms and just claim the proof still holds!

    Seriously, NO exceptions. Don't be tempted by their fancy footwork and wiley ways; they're trying to fool you

    Can a company come up with a new cryptosystem that's cool? Yes, but they'll have to do a lot of hard work to prove it. This doesn't meet that standard.

  86. Re:OTP can be broken, given the right circumstance by MrRudeDude · · Score: 1

    That argument applies to ALL encryption algorithms. In fact, skip the key step -- just guess the MESSAGE. The probability that you guessed the right message increases the longer you keep guessing !

    The reason why this line of reasoning is junvenile is that there is no game show host who is going to ring the bell when you guess right. All messages are equally likely. If you guess "I am going to blow up your sandcastle with a firecracker", and then guess, "There is no message in this encryption I did it just to watch you waste your time", how do you know which one is right ? If you could show that one was more likely than the other, then that would be a weakness of the encryption.

  87. Re:OTP can be broken, given the right circumstance by Mahy · · Score: 1

    But how do you know you have the right key? The point of OTP is that given any message M and any encrypted message E, there is some key K for which encrypting M with K gives E. So it is actually *not possible* to know what the original message was, unless there is only one message of that length in whatever language you are using. :)

  88. Re:Can't anyone use their heads at /. ???? by Lawrence_Bird · · Score: 1

    If you don't like it here, leave. Your dozens of pageviews per day only cost more money for Slashdot, and the fact that you don't subscribe doesn't help matters.

    Is this the new club for editors to use over speech they don't like?
    "Your comment is stupid and you don't pay us so leave"
    "Your comment is a troll and you don't pay us so leave"
    "You said something I dont like and you don't pay us so leave"

  89. When people first start to think about crypto... by SIGFPE · · Score: 2
    ...they try to make up cryptosystems for themselves. A small minority come up with good ones. The rest of us tend to frequently come up with the same unreliable schemes. Funnily enough the system described by the article seems like one of these codes - it even has the same bullshit that beginning students will come up with to justify why their code is good.


    Whatever the merits of this code - by definition it ain't a one time pad!

    --
    -- SIGFPE
  90. And for their next trick... by peacefinder · · Score: 1

    ... they'll unveil a perpetual motion machine!

    --
    With reasonable men I will reason; with humane men I will plead; but to tyrants I will give no quarter. -- William Lloyd
  91. snake oil alert! by Anonymous Coward · · Score: 0

    random data processed by ANY algorithm will not produce more random data. Like the old 7UP commercial said "never had it, never will".
    kennethnghawthorne +at+ hotmail.com

    1. Re:snake oil alert! by DavidTC · · Score: 1

      All well and good, but that's not what the people were claiming. They were claiming an algorithm for producing random data.

      --
      If corporations are people, aren't stockholders guilty of slavery?
  92. Let me see if I've got this right.... by Asprin · · Score: 1

    ....the way they get around the problem of distibuting the private symmetric key dictionary is by having everyone download a copy?

    ....

    Engineers designed this?

    --
    "Lawyers are for sucks."
    - Doug McKenzie
  93. They haven't done anything by Anonymous Coward · · Score: 0

    Bahahahahaha. Unbreakable my ass. They haven't done *anything*. All they have supplied is an encrypted exchange of PSEUDO-random keys. Break their exchange method, and it's worthless. Look for this in the next Cryptgram.

  94. And really not news at all... by NickFusion · · Score: 1

    One-time pads are indeed unbreakable, but who cares? The problem with one time pads is two-fold. First, use them more than once and they become breakable (hence the name). Second, due to the first limitation, both parties have to have a large number of synched one-time random number pads, know what order to use them, and here's the real catch, make sure they are somehow 100% secure from prying eyes. Any of these fail, and your messages become transparent. They are great for folks that have to send occasional messages to a secure site, but for everyday use they are logistically a pain in the butt.

    But of course, in the infosphere that is slashdot, the true one-pad story is two stories below this one: Practical Quantum Cryptography. Vastly oversimplifying things, QC is a secure, tamper-proof way of providing two (theoretically) random people a way to exchange secure one-tame pads.

    --
    What were you expecting?
  95. uh activate brain, think, then write by epine · · Score: 1

    >> First off, the OTP is completely 100% unbreakable [in theory]. Even with infinite time an OTP is unbreakable.

    > Wrong. Given infinite time, a monkey will eventually bang out the contents of the OTP. Nothing is unbreakable given infinite time. Period.

    I hope this response will remove the impressive sentence "Period." from your vocabulary for a long, long time. Or maybe it means what it appears to mean: I'm so sure of myself I don't need to think.

    The deal with OTP is that the number of possible keys is exactly equal to the number of possible messages. If you try all the keys, you get every possible message. It doesn't matter which message you start with. If you try all the keys you get all the possible messages. Is that progress?

    In fact, with OTP the set of all keys is identical to the set of all messages (for a given bit length). By your definition of "break" you don't actually need to capture the encrypted message. The decrypted message is already in your keys file!

    There is no way to know when a key you tried produced the correct output. Every output is produced by some key. Every output that is even vaguely plausible is in there. Every output entirely is in there somewhere.

    With a roomful of monkeys I can break every message ever written. With an infinite amount of time they'll type out everything ever encrypted. I don't even need the original messages. Cool.

    You should write a book: interception made easy. Or maybe you should just dig it out of your keys file. It'll save you the effort of putting your own words together in sensible patterns.

  96. What's up with all the cypher stories lately? by Rhinobird · · Score: 1

    What's up with all the cypher stories lately? Is next weeks Cringley gonna be about the future of cryptography or something?

    --
    If Mr. Edison had thought smarter he wouldn't sweat as much. --Nikola Tesla
  97. "Proprietary & confidential" white paper by Forget4it · · Score: 1
    For a good laugh take a look at the page footer captions on their white paper:

    http://www.prescient.net/pdf/e2Sec.pdf

    it reads "Proprietary and Confidential". Plus the pdf doceument security reports 40-bit RC4!

    If that's their idea of security.... Forget It

    --
    Artificial intelligence is the study of how to make real computers act like the ones in the movies.
  98. Beware! Snake Oil! by Querty · · Score: 1

    To anyone who thinks that this is somehow a good system I have two links for you:

    http://www.counterpane.com/crypto-gram-9902.html#s nakeoil
    http://www.interhack.net/people/cmcurtin/snake-oil -faq.html

    Read them and weep at the BS.

  99. Re:Can't anyone use their heads at /. ???? by DarkSkiesAhead · · Score: 1


    If you don't like it here, leave.

    This type of attitude is fine for CNN or the New York Times. Either I like them or I don't. Take it or leave it, but don't complain.

    But I've always thought of /. differently. This is more than a news source. It's a community. We participate. We contribute. Not all of the content is on the front page. To me, the best reason to read /. is for the comments. In this way, each of us make up part of the /. experience.

    Thus, our opinions about the content quality should matter. /. offers the chance for us to express ourselves, and if we express dissatisfaction with the eds (however tastelessly) we should not be told to leave. I'm dissapointed that Hemos doesn't share this view of the resource he runs.

    Your dozens of pageviews per day only cost more money for Slashdot, and the fact that you don't subscribe doesn't help matters.

    If the /. editors don't want people looking at the site without paying, they should make it subscription only. If they aren't willing to make /. subscription only, they shouldn't hold a grudge against a poster who doesn't subscribe.

    And isn't there something wrong with an editor discussing, in public, a user's viewing habits and whether or not the user is subscribed? Seems to me there ought to be some privacy issue here.

  100. What about QKD? by Anonymous Coward · · Score: 1, Informative

    This product certainly sounds like snake oil (does "a secure process known only to Prescient" inspire any trust?). However one-time pads could become practical using Quantum Key Distributions (mentioned in an earler /. story). QKD is a method of transmitting data in such a way that it is possible to determine whether the data has been intercepted (using the Uncertainty Principle) - if the key has been intercepted, simply throw it away and pick a new one.

    AFAIK the problem with QKD at present (apart from distance) is that it is very slow; it's good for public key systems that only need a few hundred or thousand bits, but with a one-time pad cipher your key has to be the same length as the message.

  101. Security through obscurity by Anonymous Coward · · Score: 0

    in part, at least:

    "This is number is exchanged with the server through a secure process known only to Prescient,"

    How much do you want to bet this shows up as Cryptogram's snakeoil this month? And how much do you want to bet that it will be broken within six months?

  102. Re:People do this with hash functions all fo the t by clion999 · · Score: 1

    Well, the poster isn't calling it a one-time pad. Just says mixing it in like a one-time pad. Perhaps the poster meant to imply that this algorithm could do something similar to what the article claimed was happening. I think the poster clearly knows that this stuff is not the same. They were probablyl posting as fast as they could to get first post.

  103. Too many problems -- it must be just marketing FUD by Frobnicator · · Score: 1
    Anyone who can pull their weight in crypto can hear problems with the press release versus reality. For example...
    "This technology allows people to implement end-to-end security, and do it transparently with nothing installed on the client side," Karim Kassam, Prescient International Inc.'s president and chief executive officer, told globetechnology.com. "It works with any kind of device - from computers to cellphones to handheld devices - and from anywhere in the world. You could access a server from any public computer in an airport terminal or a coffee shop, and the connection would be secure."
    Now that is easy to trash. Anyone could be looking over your shoulder. At a public computer you have no idea if another program is recording yoru keystrokes. And (obvously) if nothing is installed on the client side, how can the information be transmitted in any format other than cleartext?
    Getting a copy of the [keys] into the hands of the people at each end of the communication can be difficult...
    But Prescient says it has figured all this out.
    "We've found an electronic way of handling those complex keys, and of regenerating them dynamically so that lists of keys don't have to be stored anywhere," Mr. Kassam said.
    If they can be regenerated by a valid user, they can just as easliy be regenerated by an evesdropper.
    The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information it sends back to the client, and then the key is destroyed and a new one is created.
    What about vulnerabilities to 'random' number generators, this is a one-time-pad, no encryption key is needed, there is quite a bit of 'security through obscurity', and the whole thing sounds very vulnerable to man-in-the-middle....
    "We're 100-per-cent confident in our technology," Mr. Kassam said. "To give an idea of how difficult this is to crack, many organizations consider 128-bit encryption, which has a complexity of two to the power of 128, to be very secure. With e2Sec, we're talking about encryption in excess of 5,000 bits, and as much as two to the power of 10,000."
    Even PGP was named "Pretty Good" not "100% confident". What does the number of bits in one-time-pad generation have to do with anything? Only an algorithm with cycles would need that, and any algorithm with cycles is insecure. They say they are doing a one-time pad, not crpytography. The bitsize on a one-time pad should be irrelevent, like the crummy computer ads listing the on-die cache for CPUs.

    Obvously they either forgot to run the conversation through their crypto team, or their crypto team needs quite a bit more schooling.
    --
    //TODO: Think of witty sig statement
  104. oh come on this isnt new by HanzoSan · · Score: 2

    RSA has been doing this for a long time.

    --
    If you use Linux, please help development of Autopac
  105. Re:WEBSITE LINK and slavery by Anonymous Coward · · Score: 0



    karma whole, maybe. Mod him down then.

    disrespectful ... I don't think so.

    Check out the dictionary definition of slave, especially entry two:
    (www.m-w.com)

    Main Entry: slave

    Pronunciation: 'slAv

    Function: noun

    Etymology: Middle English sclave, from Old French or Medieval Latin; Old F
    rench esclave, from Medieval Latin sclavus, from Sclavus Slavic; from the frequ
    ent enslavement of Slavs in central Europe

    Date: 14th century

    1 : a person held in servitude as the chattel of another
    2 : one that is completely subservient to a dominating influence
    3 : a device (as the printer of a computer) that is directly responsive to another
    4 : DRUDGE, TOILER

  106. Flat out lies by Alsee · · Score: 3, Insightful

    The company is flat out lying. Or incompetent. They are *NOT* using one-time-pads, and they are *NOT* using a Vernam Cipher. If they were, then yes, it would be unbreakable encryption. But they aren't. They are generating a sequence of psudo-random numbers. Just like any streaming cypher. Generating a list of numbers and calling it a "pad" does not make a bit of difference.

    Either (A) they do not understand cryptography, or (B) they are intenionally lying about their cryptography. Either case is a good reason not to trust their cryptography.

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  107. Re:OTP can be broken, given the right circumstance by Anonymous Coward · · Score: 0

    So what you are saying is that the pattern inherent in symmetrical encryption is the dead giveaway for knowing when you break the encryption.

    Unfortunately, you are forgetting the main piece of the puzzle needed to break any encryption. You need to know something about the message. Either you know the cipher, the nature of the message, or something that tells you the message is correct. Even OTP has a cipher formula, it could be complex or as simple as a XOR b = c. Assuming your cipher is a XOR b, we learn your message is a repeating character. Just an example.

    Again semantics. Just because something is possible does not make it probable. It is "possible" to crack OTP. What makes it not "probable" is what you said in your post.

  108. fundamental security flaw by Anonymous Coward · · Score: 0
    many posters have already pointed out that this isn't a one-time pad, but a stream cipher based on a key negotiated at connection setup time. I won't expand on that any further...

    But there is another fundamental security flaw I haven't seen mentioned yet. That is that by definition there is no authentication possible with this architecture, meaning that the whole protocol is by definition exposed to a man-in-the-middle attack.

    Let me explain. The article explains that there is no pre-setup required, because the encryption client is downloaded from the server when you start the connection. So how do you know that you got the authentic client? The answer is that you don't. Even if the (genuine) client program contains a server certificate and a signature of itself using the server's private key that can be verified against the cert, this does you no good if the client has to be self-certifying.

    Here's how the attack works: the attacker sits between the client and the server, intercepting all the traffic that goes between them (well designed protocols such as SSL take specific steps to deal with this kind of attack, btw). The client says "give me the client program" and the attacker passes along the request. The server downloads it, keeps the program and passes along to the client a bogus "encryption" client program that claims to be the real thing but doesn't actually do any encryption. The client and server now both exchange information, via the attacker, who is actually doing all the encryption and decryption, collecting all the traffic and neither the server nor client are any the wiser.

    This, by the way, is really basic cyptographic protocol stuff. You'd be much better off using SSL.

  109. Prescient has a great PR department! by ipsuid · · Score: 1

    I'd be interested to know what the tech to management/pr ratio looks like for this company.

    Curious about how fly by night they are? I know I am. I couldn't find them on USPTO or Strategis.

    The actual name of the company is "Prescient International, Inc." - which is probably owned by an LLC. Here's an interesting google search based on that.

    Interesting stuff. Is this the same company running out of a PO box in NC? Do they ever decide what their company actually does? Oh, and the last item in that search - a press release submitted December 19, 2001 describing the other product.

    They must have an enormous number of people on their team. Three month turn around between reinventing RDMS and solving the world's encryption needs. Amazing!

    --ipsuid

    --
    It appears Ockham lost his razor and grew a beard.
  110. The flaw in the supposed "one-time pad" by Anonymous Coward · · Score: 0

    The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient

    This 'secure process' is the weak link in this lame security scheme. Break that and you can generate your own "one-time pads" (sic). Sounds like complete crap to me.

  111. real one time pad by Anonymous Coward · · Score: 0

    http://hcsoftware.sourceforge.net/HardEncrypt/Hard Encrypt.html

    great program, open source, extremeley secure.

  112. Too brute to force by fm6 · · Score: 2
    You can just do a brute force attack, applying every type of decryption technique with every key to the data until it is decrypted.
    No you can't. Each attempt takes a finite amount of time. If you can pad the time enough (and some encryptions can be shown to take billions of years to fall to a brute force attack) you're effectively unbreakable.
  113. Wrong. by rjh · · Score: 5, Informative

    Ummmm... comparing asymmetric encryption to symmetric encryption (of which a one-time pad is a subset) with key-lengths is like comparing apples to oranges.

    This much is right.

    In asymmetric encryption, your security is in your keyspace... every bit doubles the time to search the keyspace.

    This much is nowhere near right. According to our best estimates at the present time, it'll take on the order of 2**80 operations to factor out RSA-1024. It'll take on the order of 2**128 operations to factor out RSA-3072.

    Adding two thousand bits doesn't increase the difficulty by 2**2048... only 2**48. Asymmetric crypto does not double in difficulty with each added bit.

    In symmetric encryption, security is all about the keys; symmetric encryption is so easy to do that you can try millions of keys a second, as opposed to thousands or hundreds, so you HAVE to have a big keyspace.

    This is not correct. In fact, it's downright astonishingly wrong. The problem is you're assuming symmetric and conventional, non-ECC asymmetric keyspaces are both flat (they're not). But if they were flat, then asymmetric crypto would have a keyspace multiple orders of magnitude larger. Which is the opposite of what you're asserting here.

    Conventional, non-ECC asymmetric keys are so huge because most of the keys are weak. Let's compare DES to RSA. Is 0xFA810DD0 a legitimate 64-bit DES key? Yes. (Note: DES only uses 56 of those bits for key material; the other 8 are used for parity.) Is 0xFA810DD0 a legitimate 64-bit RSA key? No. Why? Because 0xFA810DD0 is an even number, which makes it much, much easier to factor.

    Conventional, non-ECC asymmetric keyspaces are so huge partially (not exclusively) because most of the keys in that keyspace are unusable. Symmetric keyspaces are so small partially (not exclusively) because most of the keys in that keyspace are usable.

    A keyspace in which all (or the overwhelming majority of) keys possess equal strength is called a "flat" keyspace. A keyspace in which some keys are stronger or weaker is... well, non-flat.

    But, most symmetric encryption algorithms allow you to get it partly right; if the key is partly right, you get a partly decoded message, so the search algorithm is linear instead of exponential.

    This is so wrong that it staggers the imagination. Claude Shannon established some principles back in the 1940s which still guide cipher development today. One of these is called the avalanche effect. The idea behind the avalanche effect is that a single one-bit error, anywhere in the enciphering/deciphering process, will affect the output of half the bits in the entire e/d process.

    Go ahead. Use Blowfish with a 40-bit key. (There are lots of Blowfish implementations out there; if you want one, email me and I'll send you one.) Encrypt it with one 40-bit key, and then decrypt it with a key that's only one bit different. You'll get absolute, total, gibberish. You'll get gibberish because Blowfish is a well-designed cipher and avalanches properly.

    But wait--it gets even worse. Only a chump runs a cipher in electronic codebook mode. Usually, ciphers are run in a block-chaining mode, where every subsequent block gets XORed with the prior block. So if you have a one-bit error in your process, that will affect half the bits of the block... which then create errors in half the bits of the next block... which avalanche... which propagate their error forwards, on and on and on... etcetera.

    You get the idea.

    (All of the above information can be found in either Bruce Schneier's Applied Cryptography, 2nd Ed or Menezes, Oorschot and Vanstone's Handbook of Applied Cryptography.)

    1. Re:Wrong. by Anonymous Coward · · Score: 0

      The idea behind the avalanche effect is that a single one-bit error, anywhere in the enciphering/deciphering process, will affect the output of half the bits in the entire e/d process.

      The people over at HASP don't know this apparently.

    2. Re:Wrong. by DavidTC · · Score: 1
      I always thought it would be funny to use a non-prime number in asymetrical encryption. (Of the type that multiplies two large primes together, obviously.) Sure, it's theoretically easier to break (If you stumble on any of the factors you've got it.), but what do you want to bet all the brute-forcers automatically skip non-primes? (And while I'm aware that all non-primes are made up of primes, I'm assuming that they don't go around checking any prime that's not roughly the right size.) ;)

      The idea of some NSA goons staring, baffled, as their super computer sits there telling them the keyspace was exhausted and no key was found, and having some math guy wander up and say 'Hey, that number, the one that's supposed to be the product of two 1024 bit primes, is divisable by 113.' is just hilarious.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    3. Re:Wrong. by BeBoxer · · Score: 2

      But wait--it gets even worse. Only a chump runs a cipher in electronic codebook mode. Usually, ciphers are run in a block-chaining mode, where every subsequent block gets XORed with the prior block. So if you have a one-bit error in your process, that will affect half the bits of the block... which then create errors in half the bits of the next block... which avalanche... which propagate their error forwards, on and on and on... etcetera.

      Which is why everyone in the know realizes that chaining is pure folly. After a few passes, 100% of the output is in error, and you are looking at the inverted plaintext!

      ;-)

  114. But you don't know which "decryption" is correct by upper · · Score: 1
    The only encryption that is unbreakable is one that cannot be decrypted. You can just do a brute force attack, applying every type of decryption technique with every key to the data until it is decrypted.

    In principle it is possible to do a brute force attack like that, and it will produce a correct decryption. But it will also produce many incorrect outputs, and it will give you no information about which output is the correct one. So you still won't know the plaintext for the message.

    If you restrict to trying one-time pad, the output will be every string of bits with the same length as the input. I think it's fair to say that by generating this list you haven't decrypted the message, since you could generate the same string of candidate outputs by exhaustive enumeration, without referring to the cyphertext at all.

  115. Web site of company doing E2sec by Anonymous Coward · · Score: 0


    http://www.prescient.net/Solutions_e2Sec.htm

    They also have a technical whitepaper about e2sec on this page which has a mathematical proof and a challenge to break their encryption. I'm no mathematician but the proof is not as specific as I wanted it to be. Can some mathematicians analyze this proof and post some comments if possible.

  116. This sounds like the most insecure cypher ever... by barfy · · Score: 1

    One time pads are secure based on the key generator being totally random, the key remaining secret, and never reused.

    It is secure because without having the random key, if you used all possible keys you would get all possible outputs. IE not only would you get the secret message, you would get the gettysburg address, your shopping list, grandma's favorite cookie recipe, a private message from god to you, and an alphabetical list of all the killers involved in the JFK assasination.

    Any key exchange involved would be as secure as the mechanism to exchange the keys. It actually sounds like there is a short key used to generate a long key, and that attacking the key generator is going to be the way to break the cypher.

  117. By the way, how are One Time Pads created? by west · · Score: 2

    Given the amount of data needed in a one-time pad, I can just imagine someone in the CIA firing up his computer program and saying "Give me 500 pages of one-time codes" :-).

    1. Re:By the way, how are One Time Pads created? by finite_automaton · · Score: 1
      Given the amount of data needed in a one-time pad, I can just imagine someone in the CIA firing up his computer program and saying "Give me 500 pages of one-time codes" :-).

      Generally, the data for one time pads is collected from random natural sources. Point a radio receiver at some used portion of the sky, record some data, wash it with some hashing algorithms to make sure it is random. apply some randomness tests and save it for later use. A karma whore would link to The Handbook of Applied Cryptography Section 5.2 (Random bit generation).

  118. Ask a certain pair of Nevada crooks by A+nonymous+Coward · · Score: 3, Interesting

    All computer programs in slot machines and such are submitted (source, *source*) to some state agency, who examine the code to make sure it has no backdoors. One enterprising examiner noriced that a certain blackjack game did not reinitialize its random seed. He copied the random number generator code to his laptop, sat in a bar with a cell phone listening to his buddy report what cards came up, and within a short time knew what to play to win.

    Both went to prison, as I heard it.

    1. Re:Ask a certain pair of Nevada crooks by DavidTC · · Score: 1

      Ironically, the only reason that's illegal is that it used a mechnical device. It's perfectly legal to count cards using your head and fingers. ;)

      --
      If corporations are people, aren't stockholders guilty of slavery?
  119. OK, MrK, how about that insurance policy? by Anonymous Coward · · Score: 0

    "We're 100-per-cent confident in our technology," Mr. Kassam said.

    Well, then, they shouldn't have any problem posting a REALLY, BIG bond to cover against any breakage of their product, shouldn't they?...

  120. Re:Take a secure method and add multiple weaknesse by rjh · · Score: 2

    So the keys are generated using a pseudo-random number generator, which makes them quite guessable.

    Not necessarily. ANSI X9.17 is both a specification for a PRNG and a family of PRNGs. The ANSI X9.17 generators I've used (and coded) in the past have passed every test for statistical randomness I've thrown at them, for datasets ranging from 16 bytes to 16Mb.

    We do have good PRNGs. The biggest problem is that people don't use them, instead trusting in their own "proprietary and special" PRNG.

  121. Not all ciphers... by jbf · · Score: 2

    Not all ciphers are long sequences of random numbers.

    Block ciphers are bijections between Z_2^p and Z_2^p, where p is the block size.

    1. Re:Not all ciphers... by Anonymous Coward · · Score: 0

      Which is a "number" to the base 2^p, duh

    2. Re:Not all ciphers... by jbf · · Score: 2

      a bijection is a function, not a number. "duh." The cipher itself is a random function (and inverse) generator, not an RNG.

      And numbers are not "to the base x," they are "in base x." Get an education...

      If you want to get really picky, a block cipher (with a key, in counter mode) is a list of 2^p elements of Z_2^p, which technically could be viewed as 2^{2p} numbers. But that's rarely how they're used; generally, in CBC mode for example, the "random number generator" actually depends on the input (and IV).

      So, a (keyed) block cipher in CBC mode is NOT a random number generator. Hence, not _all_ (keyed) ciphers are random number generators.

  122. That sinking feeling by fm6 · · Score: 2
    Thanks to Hollywood, there are all kinds of myths about the Titanic that are "common knowledge". Like there weren't enough lifeboats because the ship was "unsinkable". In fact, the purpose of the lifeboats was to move people to a rescue ship, not to provide a haven. Imagine spending even a single day in an open boat in the North Atlantic! The accepted wisdom was that you could save more lives by keeping them on the liner until the rescuers showed up than by evacuating everybody to boats at the first sign of trouble.

    That didn't work out, of course, and a lot of changes happened to make ocean travel safer. The "obvious" one -- more lifeboats -- is actually pretty unimportant. What is important? Safety training for ship's crew, disaster drills for passengers, the International Ice Patrol, and the requirement that emergency radio frequecies be always monitored. Complicated, boring, you'll never see it in a movie -- but these measures have saved thousands of lives. I'm sceptical that "more lifeboats" or "oh gee, it was sinkable!" saved even one.

    I see the same oversimplification in encryption. Mathematicians who claim their algorithms are "unbreakable" are not in denial. They're simply thinking too narrowly. There actually are encryption algorithms that can't be broken (at least by any known attack). But "unbreakable" is only true in a certain context. You have to assume that keys are generated in exactly the right manner. That brings you into the real world, away from the pristine certainties of mathematics.

    So in an absolute sense, there's no Unsinkable and no Unbreakable. But dealing with these facts is more complicated than people like to bother with.

    1. Re:That sinking feeling by stevey · · Score: 1
      But "unbreakable" is only true in a certain context

      That's true, in fact when most people use the term breakable in crypto they actually mean "Breakable by a faster/different method than just brute force"

      Its usually possible to brute-force an algorithm .. I guess the OTP is different, because its impossible to know when you have correctly decoded the message.

  123. Mod parent up +1 INSIGHTFUL by cshor · · Score: 1

    Exactly.. it all comes back to having to exchange a new polynomial or what have you for each transaction.. which is no better than a one time pad.

  124. Unbreakable encryption by BarefootClown · · Score: 2

    Unbreakable encryption is easy. I can write a program in under five minutes that will encrypt a file in such a way that I would be willing to guarantee, in cash, that it could never be broken. Simple algorithm, too:

    for all bits n in the plaintext:
    if(bit_n)==0
    return;
    if(bit_n)==1{
    bit_n=0;
    return;
    }
    --

    "Make it ten--I am only a poor corrupt official."
    --Captain Louis Renault (Claude Rains), Casablanca

    1. Re:Unbreakable encryption by swillden · · Score: 1

      That's a crappy hash, not an encryption algorithm. In order call it encryption it must be reversible.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    2. Re:Unbreakable encryption by jesterzog · · Score: 2

      It is 100% reversible if you have the one-time-pad that caused the all-zero output to be generated. Assuming the method was XOR, the one-time-pad in this case would have coincidently been the exact inverse of the original message.

      This is how one-time-pads work, and it's how they've been proven to be unbreakable if it's completely random and used in a flawless way that prevents outsiders from seeing the pad. (That's where the biggest problem is, and what makes them inconvenient.)

      Having a one-time-pad that was generated by an algorithm is quite dodgy. Straight away it opens up the possibility of someone finding a way to figure out the algorithm and inputs that have been used to generate the pad.

      Given enough example pads to work with, don't rule out someone spotting a pattern and figuring it out. Looking for recurring patterns that were generated by algorithms has been one of the most successful ways of breaking cryptography in the past.

    3. Re:Unbreakable encryption by stevey · · Score: 1

      That's not encryption. Encryption should be reversable by somebody with the correct key/knowledge.

      What you've done is erase the message in such a way that it can never be reconstructed.

    4. Re:Unbreakable encryption by swillden · · Score: 2
      But you didn't propose your algorithm as a an "OTP Generator", you just said it was unbreakable encryption. At the very least, your algorithm needs to spit out the "pad". What you wrote was a program that just zeros all message bits and that is not reversible.

      Having a one-time-pad that was generated by an algorithm is quite dodgy.

      No, it's not dodgy at all. But it is also not an OTP. There are many stream ciphers that are quite good that work by generating a keystream with is XORed with the plaintext (RC4 is a very common example). Calling the output of a keystream generator a one-time pad isn't dodgy: its a bald-faced lie.

      Given enough example pads to work with, don't rule out someone spotting a pattern and figuring it out.

      For a real life example, look up the publicly available information about the NSA's project VENONA and its success against Soviet diplomatic ciphers. The Soviet messages were enciphered with a traditional codebook and then superenciphered with a one-time pad. However, the one-time pads were generated (IIRC) by secretaries pounding random key sequences on typewriters and there was enough structure in the resulting pads to allow U.S. cryptanalysts to decipher many messages. Even so, the initial break was only achievable because the Soviets reused their pads.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  125. Re:Can't anyone use their heads at /. ???? by nusuth · · Score: 2
    The fact that Slashdot was bought-out by another company doesn't necessarily make it non-free all of the sudden.

    One step at a time, Cmdr!

    How come editors post offtopic and get away with it? I've been rtlbed (or was it rtbled) for that.

    --

    Gentlemen, you can't fight in here, this is the War Room!

  126. Re:Can't anyone use their heads at /. ???? by Anonymous Coward · · Score: 0

    ok, IHBT. so what? everyone is drunk and fool from time to time (it is 1am locally)

  127. Re:Can't anyone use their heads at /. ???? by theNeophile · · Score: 1
    On the other hand, some might say stories like this are a damn good reason not to subscribe. I read the National Enquirer in the line at the supermarket, but I don't buy it.

    Did you read it? "Since real one-time pads' numbers are by definition random and known in advance to both sender and receiver, though, the company seems to be playing fast-and-loose with their terms." This isn't a "National Enquirer" story, it's an "Alerting you to a lying company" story.

  128. You inspired me.. by Anonymous Coward · · Score: 0

    I, too, hate that term with a passion. I just took my 4 remaining mod points and hunted down 4 posts using that word and slapped them.

  129. This is nonsense ... by Anonymous Coward · · Score: 1, Informative

    This is not a one time pad. A really secure one time pad has the following properties:

    1) It is never transmitted in the clear, shrouded or not. (The fact that this thing transmits a program which builds the key, just means that cracking it will boil down to building a virtual machine to execute the given program. Just reverse engineer the virtual machine that performs the execution on the client side.)

    2) A one-time pad must be as long as the message (and be a cryptographically soundly generated random number -- no computer language in existence implements a cryptographically secure pseduo-random number generator.) In many cases 10K is way too small. RSA keys of 128bits or so don't have the same cryptographic properties as a one-time pad -- comparing the security by comparing the bit lengths is inappropriate (OTPs have to be arbitrarily long.)

    --

    OTPs must be used at most once. So this is not practical in usual circumstances, since a new key must be transmitted along with every message anyway. Thing like AES is far more efficient since only one (much smaller) key is required, and can be safely used for arbitrarily long messages.

    Other problems -- this also doesn't deal with server interloping.

    I really think this is some serious snake oil.

  130. But there are other choices by kaladorn · · Score: 2

    I have heard it suggested that sampling certain types of electrical/electronic/magnetic properties of the computer and synthesizing them (probably with a similarly random weighting) into a key could produce a truly random key.

    Mind you, this is not exactly algorithmic... this involves data sampling from the physical univers.

    I'm still waiting until we discover that _everything_ has an underlying pattern... then who'll be laughing last? *heh*

    --
    -- Mal: "Well they tell you: never hit a man with a closed fist. But it is, on occasion, hilarious."
    1. Re:But there are other choices by Sven-Erik · · Score: 1

      Some years ago I read a book about the norwegian secret service you come up with the idea to use a geiger-counter measuring natural background radiation, cosmic rays etc. to create truly random numbers for their encryption systems.


      It shouldn't be to hard to make an add-on board with an geiger counter to get the same reults on a PC...

      --
      - "Every demand is a prison, and wisdom is only free when it asks nothing." Sir Betrand Russell
  131. Horse petunia by rufusdufus · · Score: 2

    The thing described here is not unbreakable. The random bit generator could be co-opted. The polynomial function could be guessed or even deduced.

  132. Re:Can't anyone use their heads at /. ???? by Pig+Hogger · · Score: 2
    Heyyyy, I've got none other than THE GREAT HEMOS himself!!!! I quote the whole thing, because it's a pity his post got moderated down to zero...
    (To make sure it's really from HEMOS, just look at the parent post, which had been moderated into oblivion).
    If you don't like it here, leave. Your dozens of pageviews per day only cost more money for Slashdot, and the fact that you don't subscribe doesn't help matters.
    Au contraire, I loooove it here; that's why I have dozens of pageviews per day. (And he checked the access log before bitching to me).
    And sour-puss comments like that by the editors certainly won't make me subscribe!!! (No wonder *ALL* my stories get rejected...)

    I guess I could make a crontab job to reload the main page every 5 minutes or so. Naaah, it's not worth the waste of bits.

  133. Fuzzy memories by poemofatic · · Score: 2

    tell me Adobe interlaced the word "encrypt" with the actual text, thereby claiming the work was "encrypted". Could just be an urban legend, but you gotta love it.

    --

    When in doubt, have a man come through a door with a gun in his hand.

  134. very long key needed by tijsvd · · Score: 1
    one-time pads' numbers are by definition random

    Not only that, but a one-time pad needs to be as long as the communication that it's encrypting, in order to be theoretically 100% secure. So the server would have to be equipped with as much random data as all encrypted communication that's going to take place. Nonsense. I can use DES in Output Feedback mode, generating "random" numbers" based on a single 64-bit key and call it a one-time pad!

    I know the Washington - Moskow hotline uses a(real :-) one-time pad, probably messages to nuclear subs also.

  135. they've reinvented rc4 by OpenMind(tm) · · Score: 1

    Hmm...

    Exhange an initial secret through another protocol, use this secret to generate a an never-ending stream of pseudo-random bits, and use this stream as a one-time pad...

    Yep, we've already got this algorithm.

  136. Furthermore by WyldOne · · Score: 1

    You have to make sure both parties start to read the random stream at the same start offset. Otherwise; the party that is supposed to see unencrypted data will not.

    --

    make Linux, not Microsoft. sin(beast) = -0.809016994374947424102293417182819
  137. Not OTP at all. by iamroot · · Score: 1

    This isn't one time pad at all. This is just encryption with a huge key, and might not even be more secure at all that current standards(except for the key size). The only way one time pad is REALLY secure is if the key is at least as large as the message, and most importantly, is absolutely uninterceptible. If someone with a packet sniffer could read the message unencrypted, they could also intercept the encrypted key, decrypt it, and with the key, just XOR the other data. All the security relies on the encrytion of the key. So really, this is just whatever encryption is used on the key, not one time pad.

  138. Re:heh by Anonymous Coward · · Score: 0

    heh that was good... we need more 'statistics' posts here...

  139. Re:Entangled Neural Nets are better. by Anonymous Coward · · Score: 0

    I was thinking more +1, offtopic, asshole.

  140. Truly Secure? by guttentag · · Score: 2
    Once upon a time 128-bit encryption was considered secure, and people told me my AirPort Base Station was worthless because it only supported 40-bit encryption.

    Once upon a time, 1024-bit encryption was considered secure, until some guy proposed a plan that could get you a 1024-bit crypto breaker for $1 billion.

    Some day, this too will be breakable, but there is only one truly secure way of protecting data that will never fail. It was described in Pulp Fiction:

    "Your father didn't want them to find your birthright, so he he hid it in the one place he knew it would be safe: his @$$! And when he died of dysentery, he gave the watch to me and I hid this uncomfortable piece of metal in my @$$ for 4 long years. And now, little man, I give it to you."

  141. Are you people serious?? by Anonymous Coward · · Score: 0

    Wow.

    This is staggering...

    If I were TeX... I'd being saying:

    Overfull crapbox... badness=10000

    The product mentioned in the story is clearly snake oil

    Several Slashizens jump all over it, authoritatively "pointing out the errors" and writing in the tone of someone who knows what they're talking about.

    Several more Slashizens harshly criticise the initial critics for their incorrect 'analysis' and then VERY authoritatively give us their *expert* opinion. The vast majority of these posts are as ill-informed as the ones above.

    Heres the thing kids: Cryptography == Mathematics. Yup. Really. I know you coded up a ROT-13 "cipher" in Java for your tradeschool programming 101 class.. but guess what? That doesn't quite make you a cryptographer.

    Mathematics is a VERY exact science. What seems like a tiny error to the casual observer is downright offensive to a trained mathematician and just plain wrong, under any circumstances.

    Now, lets look at the facts, shall we? How many of you arrogant, self-righteous jackasses that jumped all over the original set of posters have an advanced degree in mathematics? For arguement, lets say at least an MSc. Preferably a Ph.D., but we'll be generous.

    Okay, good. Now... of those remaining with their hands raised... how many have studied number theory and abstract algebra in detail? By detail, I mean you'd be comfortable writing a comprehensive exam on the topic. Not an expert, but passingly familiar with key theorems and proof techniques.

    Now, of those left... how many have studied the application of these things to cryptography?

    How many have attempted to break a real cryptosystem in a serious way? (no Cleetus... the junior-jumble in the paper doesn't count).

    If you can answer yes to all of the above, bravo. +5 Informative for you.

    If not, where the **** do you get off acting all preachy and "setting us morons on Slashdot straight" on crypto? If you actually REALLY knew *anything* serious about crypto... you'd know HOW VERY LITTLE you actually know. I'll bet dollars to donuts that almost every single self-righteous blowhole poster here hasn't done serious mathematics since their required courses in college.

    OH.. but you've *read* lots of books on crypto, so you MUST be an expert. I mean, hey, who needs this silly "math" stuff... You're too smart for that.

    The overall content of 96% of the posts in this thread make my head spin. It is so mind-bogglingly ignorant... and whats more... the posters not only don't realize their own ignorance... they think they're experts! Look at yourselves people... you ARE the people who end up in companies like the one in the article.

    My profound apologies to the 4% of you who *don't* have your head shoved so far up your rectum that you are clearly self-asphyxiating.

    1. Re:Are you people serious?? by Anonymous Coward · · Score: 0

      You are my God. However, when I pray to you, I encrypt my prayers using the cranio-rectal inversion cypher.

  142. the next logical leap by bigbadbuccidaddy · · Score: 1

    If you can truly do the equivalent of getting a one-time pad of arbitrary length between client and server without sending (most of) it, why not take the next logical step and send all of your communications this way. That way, you don't even need a connection between the two endpoints, and you've got infinite bandwidth between them.

  143. Re:Can't anyone use their heads at /. ???? by zapfie · · Score: 2

    It's because it's not really an editor, it's someone who is pretending to be an editor, that's why. Hemos is user #2, whoever this guy is is #520833, ergo it's not really Hemos whos talking to you there.

    --
    slashdot!=valid HTML
  144. Military random numbers by snarkh · · Score: 1
    I've seen military random number generators that depend on this or similar effects to create truly random number.

    In utmost confidence here is a part of the top secret output of a military random number generator:

    3 3 3 3 3 3 2 3 3 3 3 3 3 3 3 3

  145. That's because.. by zapfie · · Score: 1

    Hemos is user #2. If the post isn't from user #2, it's not Hemos. (hint, it's not from user #2)

    Somehow I don't think Hemos would be the 569,506th member of his own site.

    --
    slashdot!=valid HTML
  146. Random Numbers by daemonslayer · · Score: 1
    The generation of random numbers is too important to be left to chance.
    -Robert Coveyou

    And where are the getting these random numbers?

  147. From the description ... by Anonymous Coward · · Score: 0

    sounds like pre-shared keys. But using somthing other than IKE.

  148. Programs? by attobyte · · Score: 1

    Where can I get some programs to play around with One-time Pad encryption? I would need it to generate the pad and xor the file too.

    --
    I didn't use the preview button, so get over it!!!!

    Mike

    1. Re:Programs? by Anonymous Coward · · Score: 0

      write it yourself. a otp system takes about 3 lines of perl :-)

      for your key just dd if=/dev/random of=filename

      of course usind /dev/random isnt *truly* random, but good enough to play with.

  149. I can help generating those random one-time pads! by Anonymous Coward · · Score: 0

    I have a room full of monkeys with typewriters! You just need to feed them and clean the floor once in a while, but you'll get 100% random data, guaranteed!

  150. This is a STREAM CIPHER by Eric+Green · · Score: 2
    First, the definition of a one-time pad: a set of random data the same size as the data to be encrypted, which is then XOR'ed (exclusive-or'ed) with the data to be encrypted. Both sides of the transaction must have previously exchanged the entire pad in some way. If the pads are TRULY random (perhaps via generated via quantum decay of atomic particles), then all possible plain-text messages are valid decryptions of the encrypted message, and knowledge of one part of the message (the "known text" attack) gives no knowledge of the contents of other parts of the message, those other parts equally have all possible plain text messages as possible decryptions -- i.e., it is provably secure.

    But that's not what these guys have. They have a stream cipher -- linear congruent generators (pseudo-random sequence generators) on both sides of the connection. The "random numbers" are not actually random, because computers are detirministic -- given two computers identical programs, and identical inputs to those programs, you will always get identical outputs. "Breaking" a stream cipher generally consists of identifying the part of the encrypted text that has known text in it, extracting the key value of that part of the output, and using that to predict future or previous parts of the message. Thus design of stream ciphers is difficult, and you're better off using one of the tried-and-true designs of stream ciphers. For AEScrypt, I chose to use AES (Rijndael) as the permutation function, and CFB-128 as the feedback function that hides patterns in the output stream, with a 128-bit 'random' salt value to insure that the generated streams are not identical for two messages encrypted by the same AES key

    It appears that their variation is that they have multiple algorithms for producing their stream of pseudo-random numbers. Does that produce more strength? Yes -- but less than you'd think. If you have two different algorithms, for example, that's basically a 1-bit addition to the key strength. If you have 1024 different algorithms, that's basically a 10-bit addition to the key strength. Big friggin' deal, you can already use 256-bit keys with AES, where the heat death of the universe will happen before you crack a message via brute force.

    So basically these guys have a really clunky stream cipher, that they're calling a "one time pad". There's a saying in the crypto industry: simpler is better. That is, the more things you add to a cipher, the slower it goes, and the more likely that you made a mistake that ends up with the cipher broken. AES (Rijndael) is a simple and fast cipher that is easy to analyze mathematically. CFB to mask the output of a block cipher being used as an LCG is a simple and well-analyzed function. A LCG (Linear Congruent Generator) based stream cipher with 1024 possible brand-new pseudo-random generators (as vs. well-tested and well-analyzed ones) has 1024 possibilities for a "crack" of one of the generators (i.e., the possibility of predicting future sequences based on known text in a particular place in the message), meaning that all past and future messages using that particular algorithm are cracked.

    This is offensive to me, in other words -- offensive from a language viewpoint (calling a LCG a "one time pad"), and offensive from a design viewpoint (adding unnecessary complexity that makes the design hard to analyze mathematically).

    Snake oil. NEXT!

    -E

    --
    Send mail here if you want to reach me.
  151. "One time pad" is just a standard cipher by crmartin · · Score: 1
    This is one of those things that shows up regularly -- and aw, Bullwinkle, that trick never works! First off, it's eaasy to show that this isn't as strong as a "one time pad" unless the "set of equations" is at least as large as the data set to be encrypted. (This follows through Chaitin complexity theory and if you're not careful I'll write the proof.) But then, this just reduces to a one-time pad, so it doesn't add anything.

    But it's worse than that: whatever this "set of equations" is, its effectively a pseudorandom number generator. There do exist cryptographically strong random number generators, but they are just as difficult to compute as a standard strong encryption, so this scheme reduces under this condition to being a standard encryption with a slightly modified key exchange process. (They're exchanging a whole equation, rather than just the key parts.) So it's neither more efficient in encryption speed, nor more effective in terms of difficulty to break, than the equivalent encryption scheme.

    But wait! There's more! If the PRNG is not cryptographically strong, then the encryption won't be very strong either, as there are well-known ways of decrypting a ciphertext encrypted using weak PRNGs. (There is a very close relationship between a PNRG and an encryption algorithm that guarantees this will work.)

    So, it clearly belongs in Schneier's "snake oil" section.

  152. Re:Can't anyone use their heads at /. ???? by Dr.+Spork · · Score: 2
    "[I]t's an "Alerting you to a lying company" story."

    Then the point returs: who cares? Is Slashdot also going to alert us about inaccurate palm readers and deceitful telephone psychics? (Please don't submit a story with a headline like "Jamaican psychic Cleo claims she can accurately advise you on your life decisions" and then wait for readers to uncover that her claim is actually inaccurate.) Really, we should know better. The editors here should know better.

    I wish we could see a list of the stories they rejected today. (Nothing from me; this isn't personal.) I think we'd then see there is a lot of real nerd news going on while we are being fed bunk.

  153. Maybe.... by Anonymous Coward · · Score: 0

    I like dots....

    However, when on the same Anger rampage you tend to understand the word fuck better. Fuck is an adjective, adverb, verb, noun, ....

    I doubt there are other words that are quite so versitile.

  154. These people never heard of stream ciphers by kbroom · · Score: 1

    Stream ciphers are a symmetric encryption scheme which try to emulate a one-time pad by generating random bits given a certain key.
    The _only_ difference with these people's algorithm and stream ciphers is that the "equations" used to generate the random bitstream on stream ciphers are open, and have been tested by a large community of cryptanalists. In the case of this new scheme, only a handful of people BELIEVE that their equations are unbreakable.

  155. Classic Snake Oil with = ~20-bit key by billstewart · · Score: 5, Insightful
    This product has pretty much all the signs of the classic snake oil psuedo-one-time-pad, except that if you can believe their white paper, it's weaker than most snake oil products. Here are some of the issues:
    • It's a proprietary secret algorithm they made up themselves. That's a bad sign already, because people who know the crypto community know that they have to be able to publish their algorithm and have it examined by (other) experts to have any credibility, and they know that any computer program can be reverse-engineered so the algorithm will leak out anyway, and anybody who doesn't know the crypto community well enough to know this hasn't read much of anything in the real literature, doesn't know the well-known attacks, much less the sneaky ones, and is probably reinventing yet another flat tire.

    • They worked on it for four years before it was ready for public use. Since it hasn't been peer-reviewed, it's *still* not ready for public use. :-) And they say it's "considered to be the best in the world", but since they're the only ones who've seen the algorithms, they must be the one considering it the best in the world, and as we'll see below, their taste in such matters is pretty questionable.

    • While grammar flames are normally considered tacky, if you can't get the syntax right in the English grammar in your press release, much less make the contents intelligible, and your crack team of engineers who've labored over this for four years can't hire somebody who *does* speak English to proof-read their press-release, I'm skeptical that they've done any better on either the syntax, structure, or quality-assurance for their programs. All your bits are belong to us! If they were from Montreal and not Toronto, you could at least blame it on Babelfish or something, but they've apparently had to do their own babbling.

    • Their PR says it doesn't use an algorithm, and then talks about the computer programs that produce it. "E2Sec is not structured and uses no algorithms, therefore unbreakable" That doesn't mean that it doesn't have a mathematical structure - it only means that they're not mathematicians, don't understand the structures, and aren't very good at algorithms, therefore it should be easily breakable. That also strongly implies that, since they don't know algorithms or structure, they're not only bad at math but also not very good at programming, so the implementation has a much higher chance of being cracked without even bothering to crack their incompetent algorithm.

    • They provide several examples of cyphertext (and the plaintext) and invite the public to break the algorithm using that, as a demonstration of their confidence that it's unbreakable. This approach is widely disparaged by the community - if they had any confidence, they'd not only publish the algorithm and invite cracking, they'd also pay some well-known cryptographer or cryptographers to analyze it for them, rather than hoping that either they'll get serious attention for free, or if they're a little brighter than that, only get unskilled amateurs trying to crack it because it's ignored by skilled professionals, leaving them free to say "See, nobody's cracked it in the TWO WHOLE WEEKS it was on the net! It must be UNBREAKABLE!!!!"

    • They provide a "proof", which apparently was copied or translated by somebody who doesn't speak Mathematics, and leaves out the definitions of the critical functions and the lengths of variables but makes vigorous assertions that it demonstrates unbreakability within a person's given lifetime. The only way I can see that their assertion is true is if what they mean is "You won't be able to figure the precise values out in your lifetime because we've underdetermined our example" :-)"

    • They assert that competing systems usually only provide 128-bit security, but theirs provides 5000-10000-bit security, because that's roughly the sizes of encryption programs they pass between client and server. Yes, that's an upper bound on the possible complexity, but most of those bits are the expression of the program, not the key itself.
    • They pass their session encryption-pseudocode programs around using any conventional browser. This means that either it's all public, or that it's only protected by the 40-bit or 128-bit crypto used by the browser, so not only do they possibly have zero bits of strength in their own system, you might as well use your browser's encryption instead, because you can *i* get 128-bit crypto for free.

    • "The core code is dynamically generated at install time from a random selection of over a million unique and distinct pseudo-code each capable of generating millions of server-based code." Unfortunately, in contexts that are clearly mathematically clueless, it's difficult to evaluate whether "over a million" means "20 bits" or "more than 5" or "billions and billions" or "oh, wow, man, that's really complicated-looking!". But if we take them at face value, they are at least *saying* that it's really about a 20-bit algorithm. It's possible that when you look at the algorithm closely that the 20 bits condense to much fewer than that, or that it's really a lot stronger than their clueless press-release (excuse me, they called this a "technology white paper", didn't they) writer says it is, but it's a good hint that it might be around 20 bits strong.

    • Their algorithm uses "random numbers" and that they're "uniform". They don't talk about how they're generated, or how long they are. Typical random-number generation subroutines useful for game-playing or user interface decorations are linear congruential generators that are either ~16-bit or ~32-bit integers, and often the 16 bits are really just 15 bits. So maybe their 20-bit strength is really only 15. Of course, they also don't say anything about how the generator is seeded, so there's no way to tell if they've done that properly - it may be that their 15 bits of security falls apart after receiving two blocks of a message if they've done it sufficiently badly.

    • In addition to using random numbers of undefined quality, they also refer to using "undeterministic keys". Aside from non-deterministic constructs in English grammar, it's hard to tell if they're referring to the presumed-poor-quality random numbers they use in other parts of the program or if they're doing some kind of hardware-generated randomness, e.g. having the user wave a mouse around. But if they are, the values from that randomness can't be generated identically by the recipient of a message, so they need to be passed in the aforementioned messages, where an eavesdropper can snag them, so the strength, if any, isn't helpful.
    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
    1. Re:Classic Snake Oil with = ~20-bit key by stonecypher · · Score: 1

      > They assert that competing systems usually only
      > provide 128-bit security, but theirs provides
      > 5000-10000-bit security, because that's roughly
      > the sizes of encryption programs they pass
      > between client and server. Yes, that's an upper
      > bound on the possible complexity, but most of
      > those bits are the expression of the program,
      > not the key itself.

      You know, you're right in the tone of your article. I want to point out a missed detail which makes it even funnier, though: they don't claim to have 5,000-10,000 bit security. They claim to have 5000-(2^10,000) bit security.

      That's 1.995something x10^3010. Yes, there are more than three thousand digits in that number, decimal.

      And all you need to do is use this little algo (which they say isn't an algo) to generate the one-time pad (which is generated, so it's regeneratable) and it's uncrackable!

      (cough)

      --
      StoneCypher is Full of BS
  156. Other classic sign I missed by billstewart · · Score: 3, Insightful
    Oh, yeah - "We've found an electronic way of handling those complex keys, and of regenerating them dynamically so that lists of keys don't have to be stored anywhere," Mr. Kassam said. If you can regenerate the pad of keys, you have no way to limit it to one-time use. With a conventional silk or flash-paper pad distributed by spies with briefcases handcuffed to their wrists, once you use a page of the pad, you burn it so nobody can regenerate it again. Otherwise, somebody else can also regenerate the key and crack your message.


    And I didn't bother pointing out that because these folks have no clue what a mathematical proof is, they didn't bother showing how their system preserves the properties of a OTP algorithm.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  157. DeCSS crack didn't depend on licensee carelessness by billstewart · · Score: 2
    The DeCSS break didn't depend on a licensee being careless with keys or code. Because the code is inherently contained in any software implementation, all that the 15-year-old kid who cracked it needed to do to access the critical data was decompile the code and analyze it carefully. He *may* hav violated his license in the process - it's not clear whether click-wrap licenses have any legal force in Norway at all, or even if they do, it looked pretty clear that Norway's laws about reverse-engineering override the terms of the license. The problem of obfuscating software-only implementations of code is fundamentally hard, though the DVD CSS folks could have designed a much more competent algorithm.

    It's possible that the GSM crack did - I'm not sure if the pseudo-code that Ian analyzed over lunch one day, which he got off the net, was originally posted by somebody who violated his licenses in the process (or at least, how *badly* the alleged poster allegedly violated the alleged licenses :-), or whether the poster had access to the code because of a procedurally or contractually careless licensee. But even if that was the case, anybody who seriously wanted to crack the code could have probably grubbed the crypto algorithm off the chip in a phone, at the cost of a phone and a bunch of expensive chip-shredding hardware, though some of the authentication algorithms might have required examining a base station if they had been designed asymmetrically.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  158. Let's bet on how many days it'll be cracked by ricardo2c · · Score: 1

    How long would it take to reverse engineer the "program"? The whole process? Ok, bets are running and I say 12 days.

    --
    --Drake 2c
  159. Re:nonsense ... DEFINITELY by billstewart · · Score: 2
    I wouldn't be bothered that if a small newspaper didn't have the technological background to avoid being snowed by this bunch of badly distilled snake oil, though the Globe and Mail is big enough that they should know better. It's important for papers to have technology writers or editors who at least know the difference between a press release, a report of a press conference, and a news article and can provide some objectivity by also interviewing one or two experts in a field to get some idea whether the company advocating their new product are really cool and clueful or whether they're selling total crockery (or both :-). Some newspapers have reporters with serious technical expertise (the NY Times and SJ Mercury News, for instance), and some make no pretense of doing objective journalism (name your favorite print-the-press-releases trade rag), and some are small enough you don't expect them to understand the technology (most small-town papers.) But even most small-town papers have local politicians and real-estate developers and used-car salescritters and ought to be able to occasionally recognize when somebody's trying to snow them.

    The so-called technical white paper was one of the worst I've seen in ages.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  160. Practicality by sabNetwork · · Score: 1

    One-time pads work great. The question is, what's the point.

    For every message, a different one-time pad must be created and secretly exchanged. Hm.... why doesn't the party just give the message to the other, unencrypted and secretly, in the first place? Nothing is really accomplished by using this encryption.

    There are, of course, some rare incidents where secure means of exchange are not available at the time of the message, but were before.

  161. Wouldn't the name of the Toronto ... by jdoeii · · Score: 1

    company be Snake Oil Merchants Inc? If not, they should really consider changing the name since what they are selling is pure 100% Grade A snake oil.

    It's possible that these "Prescient International" are really just uneducated morons, but being cynical as I am, I would rather believe that this is an attempt by another sleazy business to get investment from gullible VCs.

  162. For you crypto intelligent poeple out there... by josh+crawley · · Score: 1

    For generating random data from a computer, most say it CANT be done. However, the way I understand it, true noise is random, right? Well, cant you play something through a sound card (and with a loopback cable to the mic) record at the same time?

    Usually you see that the sound card has "16 bits of resolution" bla bla.... In actuality, PC's generate quite a bit of noise on the pci bus, so that you get 12 bits of resolution with 4 bits of static. You just dont know what 4 bits are bad.

    My idea is to use a sound card D/A converter and use the static as random data. Would this work? Why or why not?

  163. Basic cryptanalysis of this scheme by DotComVictim · · Score: 1

    We know all PRNGs are periodic, and this is probably based on some variation of a LFSR. Given known methods to attack LFSRs and discover the internal state require a large enough sample size, we know

    1. This is totally insecure for transfers larger than the PRNG period (XOR differential attack)
    2. For data with known N-bit patterns, (like headers/trailers) we can remove the pattern and gain access to N-bits of the LFSR output.
    3. CBC-mode encryption will not provide any more security, since the pad computation is an easily computable group operation (XOR is a group - DES is not, which is why 3-des and CBC work well). It does mean we can't extract trailer patterns unless the packet is short and redundant, however.
    4. Since we most likely extract several dozen sequential bits of the LFSR, determining the LFSR internal state becomes much easier, especially as packet length increases. If an entire HTTP session uses a single key exchange, I'd say there is probably enough redundant data to crack the LFSR.

    That said, with some simple enhancements, these obvious flaws are no longer present -

    1) As part of the negotiated exchange, a random squawking size is agreed upon. Each packet is prefaced by a truly random squawk. The squawk size is computed to lie within bounds such that it can sufficiently mask bit patterns in the data.
    2) The squawk + packet is compressed before applying the pad. Now the known patterns are effectively masked.

    However, at this point, we've destroyed the usefullness of the algorithm, which was the fact that it required very little CPU power.

    I'd guess that even with squawking, finding the pattern data is going to be too easy until compression, unless the squawk is so large that it dwarves the packet size, in which case the wire transmission is horribly inefficient.

    So in all, a novel idea, which given more work could perhaps be useful, but in the form described right now, totally useless. And I can't see how it would take more than 4 hours to code and debug, let alone 4 years.

  164. This == OTP? No. OTP == way to go? Yes! by Qbertino · · Score: 1

    Intelligently generated true One Time Pads and crypto with them is uncrackable, that's for shure. But this simply doesn't qualify for reasons that allready have been posted here.

    Leaving that aside, OTP Crypto actually IS the safe Cryptomechanisim of the future! Nobody knows when someone will find a prime number algorithm or how far for instance the NSA has gotten near to one. Clifford Stoll mentioned something like that in 'The Cuckoos Egg' quite some time ago that hints in this direction.
    Anyhow, Computers are getting faster and 'bigger', and brute force attacks can bring down a specific cryptomessage of email-length in less than 2 months nowadays, given you've got the hardware or the appropriate distributed computing software. But also mass storage is getting cheaper. With DVD-R just around the corner to consumer market it would be no problem for me to exchange a handfull of OTP disks with my friends that would last a lifetimes worth of crypted email. There only problem here (as with asymmetric crypto) is keeping track of the keys and the parts that where used allready.

    A Software to manage this actually is a GPL project I have in mind for quite a time now...mmmmh... anyone interessted in getting it on?
    Coming to think of it: That would actually also cut down the fuss of constant revoking and updating of public keys.
    The downside of all this is of course that OTPs can't be public. Smart, ain't I ? :-)

    --
    We suffer more in our imagination than in reality. - Seneca
  165. I've been there done that by Fjord · · Score: 2

    I worked with a company that licenced the use of another company's "one time pad" encryption system. The long and the short of it is that it wasn't "one time pad". But the really important part was how the President/CEO of the encryption company honestly felt it was. No arguement (like the fact that an attacker only had to guess 4096bits to have all the information needed, and that analysis of data would quickly cut chunks of that down) could dissuade him from his belief. He had this whole, weird, meta logic that abstracted the problem out of the first tier (cracking the generated keys, which ostesibly were pretty random as individuals) but into the second tier (cracking the key generator, which was very structured and had 4096-bits of input). Because it was a meta problemone level up, he could see the problem, in the same way that Christians are fine with "God created the Universe" and don't see "Who created God" as a problem.

    --
    -no broken link
  166. Two things by Dunkirk · · Score: 1

    One: It blows my mind that we (the Slashdot community) have so many extremely-knowledgable people in our ranks. Some of this discussion is so far over my head, it's scary. (But I'm just a mechanincal engineer, not a computer scientist.)

    Two: It seems to me that several people established how stupid this company was early on. Wouldn't it be more interesting to talk about why they would try to do such a thing? Is it to gather venture capital? What are the backgrounds of the people involved? Do they have a history of grift?

    My point is that this is obviously a sham. What's the story behind the story?

    dk

    --
    Acts 17:28, "For in Him we live, and move, and have our being."
  167. Brute time by fm6 · · Score: 2
    Its usually possible to brute-force an algorithm
    That's the umpteempth time that fallacy has appeared in this discussion. Doesn't anybody know about computability? Having an algorithm that is guaranteed to give you a result is not enough to give you that result. You also need enough time to run the algorithm.

    Example: nobody knows whether chess is a forced win for white. Why not? All you have to do is run through every possible game. The famous Deep Blue could run that in a mere 10^100 years. Bearing in mind that current cosmology says that the universe will have collapsed by then. But maybe the steady-state folks are right after all...

    Similar considerations apply to modern encryption algorithms. A brute force attack just won't work, provided the encryption key is long enough to force the necessary billion-year execution time.

  168. Re: Answers request? by Anonymous Coward · · Score: 0

    I don't have an valid answer except but to point out that in practice, source validation can be achieved in most common scenarios _of_today_

    I guess...

  169. Enigma by opiate5555 · · Score: 1

    didn't the various generations of the Enigma cipher use this concept?

  170. Re:OTP can be broken, given the right circumstance by DavidTC · · Score: 1
    Um, no. OTPs use a different character for each letter. While many of them use a XOR b, each a and b is different.

    Using the same value to XOR each letter of the plaintext with doesn't even qualify as 'encryption'. It's just a wacky version of ACSII.

    It really amazes me the number of people we have wandering around claim that 'even OTPs are breakable'. No, they aren't, you're just embarassing yourself to claim they are.

    --
    If corporations are people, aren't stockholders guilty of slavery?
  171. Security by obscurity? by borgquite · · Score: 1

    'The client generates a series of random numbers to use as an encryption key. This is number is exchanged with the server through a secure process known only to Prescient, the server uses it to encrypt any information it sends back to the client, and then the key is destroyed and a new one is created. This process is repeated every time information is exchanged between the client and the server, making it virtually impossible for outsiders to decrypt the information.'

    Isn't this still vulnerable to man-in-the-middle? If you can intercept communication between client and server you can get the pads. Sounds to me like it's only the fact that the process for transfer is obscure that prevents this. Security by obscurity.

    --
    ' Ore stabit fortis a fine placet ore stat '
    - found on a park bench
  172. Not quite, but good idea. :) by rjh · · Score: 2

    The NFS doesn't care how big or how small the factors are--it just finds them. If 113 is a factor, the NFS will find it. :)

  173. Re:Can't anyone use their heads at /. ???? by Restil · · Score: 2

    Yay.. someone who noticed.

    I have to admit though, the only thing more pathetic than someone faking an editor's name to draw hits to his website, are the hoardes of idiots who blindly believe who it is on name alone (the user # obviously isn't a bold enough hint)

    *sigh*

    -Restil

    --
    Play with my webcams and lights here
  174. Snake Oil, again by Hollow+Mountain · · Score: 1

    For those of you that don't want to read the whole article, I'll spoil it for you.

    "We've found an electronic way of handling those complex keys, and of regenerating them dynamically so that lists of keys don't have to be stored anywhere," Mr. Kassam said.

    Proves one of two things, Mr Kassam (from the company this piece is about) either does not understand tha product, or the product is not equivalent to a OTP. It's a very simple proof.

    The data can be reconstructed using less data than is in the pad itself
    The pad is not wholly entropic
    The resulting system is not in any way shape or form a OTP.

    Of course I haven't presented the proof with any formality to it, but I don't think it needs it.

    So from this we can conclude one of two things.
    1) They don't know what they are doing
    2) They lack a fundamental understanding of the most basic computer science, which of course is the same as "They don't know what they are doing"

    So they don't know what they are doing, and I wouldn't trust them to protect my email address (which I consider public knowledge), let alone anything important.

  175. Re:Bad cryptography.... [mildly off topic] by Frobnicator · · Score: 1
    About keeping algorithms secret, that is a source of open debate. An algorithm could be very secure and carefully tested and analyzed, but never publically disclosed.

    The biggest benefit is that it should be more difficult to break because crackers don't know enough about the algorithm. The biggest drawback (assuming the algorithm really is secure) is that scientific trust would be difficult to gain.

    Regarding offering many locked 'boxes', many cryptographers are working on security with 'unlocked boxes'. There have been algorithms based on 'chaff', or garbage infomration included with legitimate information, that are relativly secure. Proposals have included combining multiple message sources and segmenting all the messages into similar (very small) pieces and attaching a public-key-signed signature to each of them. The messages are never actually encrypted, but they cannot be recovered in order without being able to open the signatures to re-assemble them.

    Getting back on the topic of their routine, it is a bad algorithm (a bogus OTP), and they have already taken a beating on /. about it.

    --
    //TODO: Think of witty sig statement
  176. Re:Bad cryptography.... [mildly off topic] by DavidTC · · Score: 1
    About keeping algorithms secret, that is a source of open debate. An algorithm could be very secure and carefully tested and analyzed, but never publically disclosed.

    While that seems possible, that's near impossible to do in practice. About the only way to get algorithms tested is to hand them out to the public. Cryptologists don't personally care whether or not your supersekret code is 'good', it has to get though several levels of 'testing' before the top people will even look at it. They rely on people 'below' them (Slashdot, crypto newsgroups, etc) to filter out all the idiotic schemes. (Like this one, it didn't even make it past /., which is really sad.)

    If you have a new algorithm, and aren't a real cryptologist, you has almost no chances of having a real one look at it until a lot of random people have looked at it and say 'Well, I don't see anything wrong with it'. You can't just walk up and order them to test it without paying them a lot of money.

    Not to mention you shouldn't be relying on the algorithm being secret at all, as the very first publicly sold copy will even up being reverse engineered and everyone will know the algorithm anyway.

    --
    If corporations are people, aren't stockholders guilty of slavery?