The Value of Cryptanalysis


A Ciphers By Ritter Page


This huge conversation starts out with the article by Schneier. That article is controversial in various ways:

These arguments bring out fundamental issues in cryptography which are generally assumed to have been resolved long ago, with the answers now obvious. See my response, my later response and someone else's response and math descriptions.


Contents


Subject: Memo to the Amateur Cipher Designer Date: Sat, 17 Oct 1998 23:35:28 GMT From: schneier@counterpane.com (Bruce Schneier) Message-ID: <36292906.1151332@news.visi.com> Newsgroups: sci.crypt Lines: 152 This was in the October CRYPTO-GRAM, but I thought I'd run it through sci.crypt, since so many people seem to be asking questions on the topic. Bruce Memo to the Amateur Cipher Designer Congratulations. You've just invented this great new cipher, and you want to do something with it. You're new in the field; no one's heard of you, and you don't have any credentials as a cryptanalyst. You want to get well-known cryptographers to look at your work. What can you do? Unfortunately, you have a tough road ahead of you. I see about two new cipher designs from amateur cryptographers every week. The odds of any of these ciphers being secure are slim. The odds of any of them being both secure and efficient are negligible. The odds of any of them being worth actual money are virtually non-existent. Anyone, from the most clueless amateur to the best cryptographer, can create an algorithm that he himself can't break. It's not even hard. What is hard is creating an algorithm that no one else can break, even after years of analysis. And the only way to prove that is to subject the algorithm to years of analysis by the best cryptographers around. "The best cryptographers around" break a lot of ciphers. The academic literature is littered with the carcasses of ciphers broken by their analyses. But they're a busy bunch; they don't have time to break everything. How do they decide what to look at? Ideally, cryptographers should only look at ciphers that have a reasonable chance of being secure. And since anyone can create a cipher that he believes to be secure, this means that cryptographers should only look at ciphers created by people whose opinions are worth something. No one is impressed if a random person creates an cipher he can't break; but if one of the world's best cryptographers creates an cipher he can't break, now that's worth looking at. The real world isn't that tidy. Cryptographers look at algorithms that are either interesting or are likely to yield publishable results. This means that they are going to look at algorithms by respected cryptographers, algorithms fielded in large public systems (e.g., cellular phones, pay-TV decoders, Microsoft products), and algorithms that are published in the academic literature. Algorithms posted to Internet newsgroups by unknowns won't get a second glance. Neither will patented but unpublished algorithms, or proprietary algorithms embedded in obscure products. It's hard to get a cryptographic algorithm published. Most conferences and workshops won't accept designs from unknowns and without extensive analysis. This may seem unfair: unknowns can't get their ciphers published because they are unknowns, and hence no one will ever see their work. In reality, if the only "work" someone ever does is in design, then it's probably not worth publishing. Unknowns can become knowns by publishing cryptanalyses of existing ciphers; most conferences accept these papers. When I started writing _Applied Cryptography_, I heard the maxim that the only good algorithm designers were people who spent years analyzing existing designs. The maxim made sense, and I believed it. Over the years, as I spend more time doing design and analysis, the truth of the maxim has gotten stronger and stronger. My work on the Twofish design has made me believe this even more strongly. The cipher's strength is not in its design; anyone could design something like that. The strength is in its analysis. We spent over 1000 man-hours analyzing Twofish, breaking simplified versions and variants, and studying modifications. And we could not have done that analysis, nor would we have had any confidence in that analysis, had not the entire design team had experience breaking many other algorithm designs. A cryptographer friend tells the story of an amateur who kept bothering him with the cipher he invented. The cryptographer would break the cipher, the amateur would make a change to "fix" it, and the cryptographer would break it again. This exchange went on a few times until the cryptographer became fed up. When the amateur visited him to hear what the cryptographer thought, the cryptographer put three envelopes face down on the table. "In each of these envelopes is an attack against your cipher. Take one and read it. Don't come back until you've discovered the other two attacks." The amateur was never heard from again. I don't mean to be completely negative. People occasionally design strong ciphers. Amateur cryptographers even design strong ciphers. But if you are not known to the cryptographic community, and you expect other cryptographers to look at your work, you have to do several things: 1. Describe your cipher using standard notation. This doesn't mean C code. There is established terminology in the literature. Learn it and use it; no one will learn your specialized terminology. 2. Compare your cipher with other designs. Most likely, it will use some ideas that have been used before. Reference them. This will make it easier for others to understand your work, and shows that you understand the literature. 3. Show why your cipher is immune against each of the major attacks known in literature. It is not good enough just to say that it is secure, you have to show why it is secure against these attacks. This requires, of course, that you not only have read the literature, but also understand it. Expect this process to take months, and result in a large heavily mathematical document. And remember, statistical tests are not very meaningful. 4. Explain why your cipher is better than existing alternatives. It makes no sense to look at something new unless it has clear advantages over the old stuff. Is it faster on Pentiums? Smaller in hardware? What? I have frequently said that, given enough rounds, pretty much anything is secure. Your design needs to have significant performance advantages. And "it can't be broken" is not an advantage; it's a prerequisite. 5. Publish the cipher. Experience shows that ciphers that are not published are most often very weak. Keeping the cipher secret does not improve the security once the cipher is widely used, so if your cipher has to be kept secret to be secure, it is useless anyway. 6. Don't patent the cipher. You can't make money selling a cipher. There are just too many good free ones. Everyone who submitted a cipher to the AES is willing to just give it away; many of the submissions are already in the public domain. If you patent your design, everyone will just use something else. And no one will analyze it for you (unless you pay them); why should they work for you for free? 7. Be patient. There are a lot of algorithms to look at right now. The AES competition has given cryptographers 15 new designs to analyze, and we have to pick a winner by Spring 2000. Any good cryptographer with spare time is poking at those designs. If you want to design algorithms, start by breaking the ones out there. Practice by breaking algorithms that have already been broken (without peeking at the answers). Break something no one else has broken. Break another. Get your breaks published. When you have established yourself as someone who can break algorithms, then you can start designing new algorithms. Before then, no one will take you seriously. Creating a cipher is easy. Analyzing it is hard. See "Self-Study Course in Block Cipher Cryptanalysis": http://www.counterpane.com/self-study.html ********************************************************************** Bruce Schneier, President, Counterpane Systems Phone: 612-823-1098 101 E Minnehaha Parkway, Minneapolis, MN 55419 Fax: 612-823-1590 Free crypto newsletter. See: http://www.counterpane.com
Subject: Re: Memo to the Amateur Cipher Designer Date: Sun, 18 Oct 1998 04:20:15 GMT From: george.barwood@dial.pipex.com (George Barwood) Message-ID: <362967c9.4415110@news.dial.pipex.com> References: <36292906.1151332@news.visi.com> Newsgroups: sci.crypt Lines: 14 On Sat, 17 Oct 1998 23:35:28 GMT, schneier@counterpane.com (Bruce Schneier) wrote in part: > Algorithms posted to Internet newsgroups by unknowns won't get a second glance. I disagree - some time ago I posted an algorithm to sci.crypt, and recieved a quick (and useful) analysis from David Wagner. The algorithm was not strong against known-plaintext attack, but this was as expected (the design aim was speed at all costs). Not that I disagree with the intent or conclusions of your article - but I don't this statement holds up. George
Subject: Re: Memo to the Amateur Cipher Designer Date: 18 Oct 1998 06:07:01 -0700 From: Karl-Friedrich Lenz Message-ID: <70cp5l$jbu@edrn.newsguy.com> References: <362967c9.4415110@news.dial.pipex.com> Newsgroups: sci.crypt Lines: 22 In article , george.barwood@dial.pipex.com says... > >On Sat, 17 Oct 1998 23:35:28 GMT, schneier@counterpane.com (Bruce >Schneier) wrote in part: > >>Algorithms posted to Internet newsgroups by unknowns won't get a second glance. > >I disagree - some time ago I posted an algorithm to sci.crypt, and >recieved a quick (and useful) analysis from David Wagner. The >algorithm was not strong against known-plaintext attack, but this was >as expected (the design aim was speed at all costs). > >Not that I disagree with the intent or conclusions of your article - >but I don't this statement holds up. Probably Mr. Schneier intended to say "not a second glance by professionals in scientific papers", which might be true. But the level of sci.crypt is not that low, and there seem to be quite a lot of people ready to have a swing at new ideas. Karl-Friedrich Lenz :-) www.toptext.com/crypto
Subject: Re: Memo to the Amateur Cipher Designer Date: Sun, 18 Oct 1998 15:00:36 GMT From: schneier@counterpane.com (Bruce Schneier) Message-ID: <362a0287.3103532@news.visi.com> References: <362967c9.4415110@news.dial.pipex.com> Newsgroups: sci.crypt Lines: 23 On Sun, 18 Oct 1998 04:20:15 GMT, george.barwood@dial.pipex.com (George Barwood) wrote: >On Sat, 17 Oct 1998 23:35:28 GMT, schneier@counterpane.com (Bruce >Schneier) wrote in part: > >> Algorithms posted to Internet newsgroups by unknowns won't get a second glance. > >I disagree - some time ago I posted an algorithm to sci.crypt, and >recieved a quick (and useful) analysis from David Wagner. The >algorithm was not strong against known-plaintext attack, but this was >as expected (the design aim was speed at all costs). > >Not that I disagree with the intent or conclusions of your article - >but I don't this statement holds up. You're right. There are exceptions to this. Agreed. Bruce ********************************************************************** Bruce Schneier, President, Counterpane Systems Phone: 612-823-1098 101 E Minnehaha Parkway, Minneapolis, MN 55419 Fax: 612-823-1590 Free crypto newsletter. See: http://www.counterpane.com
Subject: Re: Memo to the Amateur Cipher Designer Date: 18 Oct 1998 17:17:12 +0200 From: Jon Haugsand <haugsand@procyon.nr.no> Message-ID: <yzobtn9nblz.fsf@procyon.nr.no> References: <362a0287.3103532@news.visi.com> Newsgroups: sci.crypt Lines: 19 * Bruce Schneier | >> Algorithms posted to Internet newsgroups by unknowns won't get a second glance. | > | >I disagree - some time ago I posted an algorithm to sci.crypt, and | >recieved a quick (and useful) analysis from David Wagner. The | >algorithm was not strong against known-plaintext attack, but this was | >as expected (the design aim was speed at all costs). | | You're right. There are exceptions to this. Agreed. Actually, wouldn't this be a good way to train oneself with cryptoanalyzing? Breaking amateur ciphers posted to the usenet? -- Jon Haugsand Norwegian Computing Center, <http://www.nr.no/engelsk/> <mailto:haugsand@nr.no> Pho: +47 22852608 / +47 22852500, Fax: +47 22697660, Pb 114 Blindern, N-0314 OSLO, Norway
Subject: Re: Memo to the Amateur Cipher Designer Date: Mon, 19 Oct 1998 04:09:14 GMT From: schneier@counterpane.com (Bruce Schneier) Message-ID: <362abb52.2020632@news.visi.com> References: <yzobtn9nblz.fsf@procyon.nr.no> Newsgroups: sci.crypt Lines: 25 On 18 Oct 1998 17:17:12 +0200, Jon Haugsand <haugsand@procyon.nr.no> wrote: >* Bruce Schneier >| >> Algorithms posted to Internet newsgroups by unknowns won't get a second glance. >| > >| >I disagree - some time ago I posted an algorithm to sci.crypt, and >| >recieved a quick (and useful) analysis from David Wagner. The >| >algorithm was not strong against known-plaintext attack, but this was >| >as expected (the design aim was speed at all costs). >| >| You're right. There are exceptions to this. Agreed. > >Actually, wouldn't this be a good way to train oneself with >cryptoanalyzing? Breaking amateur ciphers posted to the usenet? Definitely. I think it's the best way. Not only do you get experience breaking ciphers, but you get some very easy ones to start on. Bruce ********************************************************************** Bruce Schneier, President, Counterpane Systems Phone: 612-823-1098 101 E Minnehaha Parkway, Minneapolis, MN 55419 Fax: 612-823-1590 Free crypto newsletter. See: http://www.counterpane.com
Subject: Re: Memo to the Amateur Cipher Designer Date: Sat, 17 Oct 1998 22:33:44 -0600 From: jgfunj@EnqvbSerrGrknf.pbz (W T Shaw) Message-ID: <jgfunj-1710982234000001@dialup175.itexas.net> References: <36292906.1151332@news.visi.com> Newsgroups: sci.crypt Lines: 110 In article <36292906.1151332@news.visi.com>, schneier@counterpane.com (Bruce Schneier) wrote: > This was in the October CRYPTO-GRAM, but I thought I'd run it through > sci.crypt, since so many people seem to be asking questions on the > topic. > > Bruce. .... There have been many such discussions which marry some good advice with propaganda, serving the status quo rather than being inclusive of all attempts at improvement in the condition of man. A contrived obstacle course means being sure that few can finish, and more are discouraged from even trying. Those that do run the gauntlet and break the tape seem to confirm its validity to the blinded faithful, not withstanding the best intentions of those who would sit in judgement, doing the best they can to feel that the whole process is of inordinate value. As with any presentation, you are encouraged to find weaknesses in what is included in the prior posting in this thread. Authoritarianism is always subject to incompleteness in information that conflicts with its adopted views; and, the stronger it is the more vocal it is in denouncing whatever differs with it. Intolerance ain't pretty. Since sound reasoning is essential in cryptography: If you know where your feet are, you should be able to cut through the nonsense to glean something even useful from the talk. Much of the content is not new at all, but contrived decades ago, and seeks to hamstring the possibilities of the present to the hinderances of the past, more especially in this subject of ours, and not further the open art at all. The scripting of the elements is in the form of an arrangement in supportative order for argument's sake so they sound more reasonable that they are. The caveats do form comfortable enclaves for those that want to excuse the rest of the stuff. Remember, the only excuse for formal education is learning how to learn. The end ideal is to become a self-starter in your search for truth, not requiring so many hours credit in order to have particular ability. What is to be acquired is being able to DO rather than always having to ask permission and direction for your occupations. When this honest goal of finding your own direction is realized, it means that you are weaned. It means that you are no longer required to seak an academic teat, or kiss customary areas of despoiled anatomy. You still have the right to seek helpful advice for its own sake, but no obigation to bow and scrape for the priviledge. Good information is not to be cloistered. You are allowed to judge legitimacy on intrinsic content rather than whether it contradicts prior cannonized scripture. You are encouraged in true scientific tradition to test and inquire into the nature of anything that has been spread before as the gospel. If you are overly addicted to the opinons of certain people, you tend to acquire their prejudices; afterwards, know that discovering any flaws is prohibited, and severly punished by excommunication, which has always been a religious act aimed at the unfaithful so as to humiliate and silence them. This technique is often used as well against those that do not buy the bit up front. So often those that tout a regimen are just saying that it worked for them, so it can do the same for you. You can eat the blood pudding of tradition as long as you like, or you can graduate in informal elegancy, freedom of thought being its own reward. If you are not ready to fly, you may crash, which is preferable to being stoned or shot down as a heretic in the other model. You then have the option to dust yourself off, learn from your mistakes, and flap your wings again. Reinforcing the status quo means going nowhere not on the approved map; innovation and creativity mean taking new and unorthodox approaches, and sometimes finding that assumed ground rules are merely generalizations that are not always true. Life is far more variable than anyone can realize. It is such that you can almost have nothing on the surface in common with whole groups of people. This means that methods that work for some are going to be rejected as bad style by others. The challenge is not to forcefully remake everyone else in your own image, but to realize that noone has a lock on the path to truth. It should be self-evident that what leads you is the greater good rather than finding a way to get more articles published than someone else. In crypto, as in many other fields, sufficient study will lead you to agreement with lots of what passes for acceptable thought. It can allow you to unmask areas that have been glossed over. I would never discourage someone from going it alone in a quest; so much in science is the product of the dedicated contrarians who focused on a star that others wanted to excuse as an photographic artifact. Be constrained only by those barriers you show to be actually there. Cryptography is still wide open to new concepts, as well as novel unifying ideas that put older methods in prospective. Bruce is a good soldier, but some don't march to the same drummer. I would like to believe that anyone as intelligent as he appears to be would serve less in the role of retelling so many false echos from the past. He continually tells us how difficult good cryptography is; I suppose that reflects his experience. I am sure that he would like to make it easier for others to learn what he has without going down the same path, yet he would recommend it still. Yet, I would not discourage him either from any cryptological endeavor, as I would not do that to anyone. -- --- Insanity means doing the same thing over and over again and expecting different results...like CDA2. --- Decrypt with ROT13 to get correct email address. User-Agent: tin/pre-1.4-980618 (UNIX) (AIX/4-1) Cache-Post-Path: server.cuug.ab.ca!unknown@ibm.cuug.ab.ca
Subject: Re: Memo to the Amateur Cipher Designer Date: Sun, 18 Oct 1998 04:07:00 GMT From: Lloyd Miller <millerl@cuugnet.cuug.ab.ca> Message-ID: <908683620.523852@server.cuug.ab.ca> References: <jgfunj-1710982234000001@dialup175.itexas.net> Newsgroups: sci.crypt Lines: 25 W T Shaw <jgfunj@EnqvbSerrGrknf.pbz> wrote: : In article <36292906.1151332@news.visi.com>, schneier@counterpane.com : (Bruce Schneier) wrote: :> This was in the October CRYPTO-GRAM, but I thought I'd run it through :> sci.crypt, since so many people seem to be asking questions on the :> topic. :> :> Bruce. : .... ... : If you are overly addicted to the opinons of certain people, you tend to : acquire their prejudices; afterwards, know that discovering any flaws is : prohibited, and severly punished by excommunication, which has always been : a religious act aimed at the unfaithful so as to humiliate and silence : them. This technique is often used as well against those that do not buy : the bit up front. Bruce's religion makes a lot more sense to me than your's. -- Lloyd Miller, Calgary millerl@cuug.ab.ca. Terminal Insomniac
Subject: Re: Memo to the Amateur Cipher Designer Date: Sun, 18 Oct 1998 09:02:32 -0400 From: "Jay Holovacs" <holovacs@idt.net> Message-ID: <70cs7t$kja@nnrp1.farm.idt.net> References: <jgfunj-1710982234000001@dialup175.itexas.net> Newsgroups: sci.crypt Lines: 56 W T Shaw wrote in message ... >>> > >There have been many such discussions which marry some good advice with >propaganda, serving the status quo rather than being inclusive of all >attempts at improvement in the condition of man. A contrived obstacle >course means being sure that few can finish, and more are discouraged from >even trying. Those that do run the gauntlet and break the tape seem to >confirm its validity to the blinded faithful, not withstanding the best >intentions of those who would sit in judgement, doing the best they can to >feel that the whole process is of inordinate value. > [...etc...] Newton said 'if I have seen farther than most, it is because I stood on the shoulders of giants.' It has also been said 'he who will not learn from the past is doomed to repeat it.' Bruce makes a great deal of sense. Crypto is not a random shot in the dark, it has a long history of mistakes and discoveries. Just as the patent office became littered with the products of inventors of 'perpetual energy machines' not realizing what was wrong with their great ideas, the crypto world is littered with schemes that mean nothing. You can't get far in chemistry without learning theory and experience of those that went before. If you want to develop your own winning racing car, you'd best begin by working with as many of the machines built by other great builders as possible. Crypto is no different. If you can't break codes that are out there, why should anyone believe that you have an answer. (In truth, analysis is probably the more important part of the field now, even though most beginners want to rush in and create their own encryption algorithms.) There is this mythology that by *not* learning how something is done, you can come up with a radical new approach. Quaint, but it doesn't work in the real world. Einstein learned existing physics before he shattered the boundaries of the known physics world. Good writers, painters and composers need to know all the rules of their art before they can break them successfully. Only in areas where there is no history of prior art can someone really come out of the blue and change things (as with small computers 15-20 years ago). Crypto is not one of those areas. Bruce offered some really good advice for getting yourself listened to, break known codes and write up your results. These are not hard to get published. If someone who can demonstrably analyze codes produces one, there is much more reason to take such a person seriously. Don't make excuses. Don't blame the 'establishment' that's out to stop you. Listen to people who actually know something. Prove yourself if you want to believed. Jay
Subject: Re: Memo to the Amateur Cipher Designer Date: Sun, 18 Oct 1998 11:34:03 -0600 From: jgfunj@EnqvbSerrGrknf.pbz (W T Shaw) Message-ID: <jgfunj-1810981134030001@dialup122.itexas.net> References: <70cs7t$kja@nnrp1.farm.idt.net> Newsgroups: sci.crypt Lines: 76 In article <70cs7t$kja@nnrp1.farm.idt.net>, "Jay Holovacs" <holovacs@idt.net> wrote: > > Bruce offered some really good advice for getting yourself listened to, > break known codes and write up your results. These are not hard to get > published. If someone who can demonstrably analyze codes produces one, there > is much more reason to take such a person seriously. > > Don't make excuses. Don't blame the 'establishment' that's out to stop you. > Listen to people who actually know something. Prove yourself if you want to > believed. > The big question is what does one actually know from knowledge delivered in a transfusion. In the days when some of us started working, there were skant few resources to work with, and no open debate on any current crypto advances. That time was distasteful, and we should not go there in any respect. Science is less about belief and more about evidence. You seem to confuse the two. You might prejudice your results by looking for the wrong evidence. In the end, each observation stands or falls on its own through replication and not by the clout of a sole documenter. Personalities can get involved, but true inquisitiveness should cause everyone to rise above that. Apprenticeships are not a universal requirement. There is not real establishment in crypto anymore, just truth where you find it. In Bruce's work, there are sinful omissions and comissions, but the subject is so large that this would always be a surity in some form. To judge his character, we will see if he mentions in the future any things he has previously ignored and have been pointed out directly to him. If he is a true scientist, he will include such. I would gamble that he in the end will chose fairness. You should not figure that he is doomed fail to rise to that imperative. We each have the option of presenting contasting and contradictory evidence as we see it. Look for the amount of cryptological information to explode as growth occurs in a myrid of directions. No one person will be able to keep it under his thumb, and we better be willing to accept increased specialization as it does. It might surprise you that I do considerable work in code breaking, not necessarily the ones you would choose. Sometimes I am more successful, sometimes less. The goal for me is to learn how to defeat a weakness and apply it in a refined design. To broadcast prematurely such results would give others the advantage in future designs that I might reserve for myself; and so probably it is with others. It does not follow that a successful analysis can always to a better design, and particularily that one known for solving a particular problem can pose a better one. For some it is more important to learn from failures and move on to something better than to trash anothers work as a justification for raising a consultant fee. Back to Bruce, he has a couple of interesting designs in a relatively narrow defined area of crypto. He is also a good researcher and has assembled a certain amount of material in a convenient form. He is a serious organizer, and exercises great concentration to get what he wants. He is an excellent presenter, and most capable in matters closely related to his work. He can be a bear in his zeal, and he can be most cheerful when receiving complements, we all tend to be that way at such times. He defends his work as he should; it is considerable, showing a colossal amount of labor, be it like anything else pushing certain viewpoints over others. He is worthy of some respect and will continue to inspire lots of people. But, because he is a limited human being, it also follows that the percentage of cryptography he understands will continue to slip as the field outpaces anyones ablility to completely grasp it. This is not a discourteous observation, just another real one. It could be as well said for all others, even those who are into their work as a priority. We should all be humbled by the magnitude of the that problem. -- --- Insanity means doing the same thing over and over again and expecting different results...like CDA2. --- Decrypt with ROT13 to get correct email address.
Subject: Re: Memo to the Amateur Cipher Designer Date: Sun, 18 Oct 1998 22:32:14 GMT From: dscott@networkusa.net Message-ID: <70dq9e$jjt$1@nnrp1.dejanews.com> References: <70cs7t$kja@nnrp1.farm.idt.net> Newsgroups: sci.crypt Lines: 48 In article <70cs7t$kja@nnrp1.farm.idt.net>, "Jay Holovacs" <holovacs@idt.net> wrote: > > W T Shaw wrote in message ... > >>> > > > >There have been many such discussions which marry some good advice with > >propaganda, serving the status quo rather than being inclusive of all > >attempts at improvement in the condition of man. A contrived obstacle > >course means being sure that few can finish, and more are discouraged from > >even trying. Those that do run the gauntlet and break the tape seem to > >confirm its validity to the blinded faithful, not withstanding the best > >intentions of those who would sit in judgement, doing the best they can to > >feel that the whole process is of inordinate value. > > [...etc...] > > Newton said 'if I have seen farther than most, it is because I stood on the > shoulders of giants.' It has also been said 'he who will not learn from the > past is doomed to repeat it.' Bruce makes a great deal of sense. Crypto is > not a random shot in the dark, it has a long history of mistakes and > discoveries. Just as the patent office became littered with the products of > inventors of 'perpetual energy machines' not realizing what was wrong with > their great ideas, the crypto world is littered with schemes that mean > nothing. > > You can't get far in chemistry without learning theory and experience of > those that went before. If you want to develop your own winning racing car, > you'd best begin by working with as many of the machines built by other > great builders as possible. Crypto is no different. If you can't break codes > that are out there, why should anyone believe that you have an answer. (In > truth, analysis is probably the more important part of the field now, even > though most beginners want to rush in and create their own > encryption algorithms.) > I like your chemsitry example it fits well witht the load of stuff Bruce is trying to pass off. In chemistry when I had it in school we got to see a lovely film on the Noble gases. A bunch of PHD experts siad lets try to make compounds useing this part of periodic table. They do all sorts of brainy exotic things. But no compounds formed from the Noble gases. At end of film they pompously stated how foolish it was to even try and that there are no such compounds. Then are teacher should us the articles how some nobodys made some. Yes the chemistry was a good example. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Subject: Re: Memo to the Amateur Cipher Designer Date: 19 Oct 1998 02:14:15 GMT From: jsavard@freenet.edmonton.ab.ca () Message-ID: <70e79n$896$1@news.sas.ab.ca> References: <70cs7t$kja@nnrp1.farm.idt.net> Newsgroups: sci.crypt Lines: 35 Jay Holovacs (holovacs@idt.net) wrote: : Newton said 'if I have seen farther than most, it is because I stood on the : shoulders of giants.' It has also been said 'he who will not learn from the : past is doomed to repeat it.' Bruce makes a great deal of sense. Crypto is : not a random shot in the dark, it has a long history of mistakes and : discoveries. I certainly do agree with this, people wanting to design a new cipher ought to be familiar with what has gone before. : Bruce offered some really good advice for getting yourself listened to, : break known codes and write up your results. These are not hard to get : published. If someone who can demonstrably analyze codes produces one, there : is much more reason to take such a person seriously. Well, I certainly have to admit there is truth to that. In _two_ ways. Certainly, a cipher design from someone like Eli Biham, one of the academic discoverers of differential cryptanalysis, is going to be taken seriously, as it should. And a general familiarity with the principles of cryptanalysis, especially as they apply to the kind of cipher one is attempting to design, is going to be an important guide away from various pitfalls. However, cryptanalysis is a discipline of its own, and requires either considerable stamina or advanced mathematical skills. One does not quite need these qualifications to design a secure cipher, particularly if one is following your earlier advice and not ignoring the lessons of previous designs. Of course, if one wants a hearing, if one's qualifications are modest, one should be modest. John Savard <jgfunj-1710982234000001@dialup175.itexas.net> <70cs7t$kja@nnrp1.farm.idt.net> <70e79n$896$1@news.sas.ab.ca> Cache-Post-Path: cnn!unknown@spike.long.harlequin.co.uk
Subject: Re: Memo to the Amateur Cipher Designer Date: 19 Oct 1998 14:29:21 +0100 From: Mark Tillotson <markt@harlequin.co.uk> Message-ID: <kxsogkfzny.fsf@harlequin.co.uk> References: <36292906.1151332@news.visi.com> Newsgroups: sci.crypt Lines: 64 jsavard@freenet.edmonton.ab.ca () wrote: | And a general familiarity with the principles of cryptanalysis, especially | as they apply to the kind of cipher one is attempting to design, is going | to be an important guide away from various pitfalls. | | However, cryptanalysis is a discipline of its own, and requires either | considerable stamina or advanced mathematical skills. One does not quite | need these qualifications to design a secure cipher, particularly if one | is following your earlier advice and not ignoring the lessons of previous | designs. Nonsense! How on earth can you claim to design a secure cipher if you are _incapable_ of distinquishing a weak cipher from a strong cipher??? It just doesn't make any sense at all. That's like saying a blind person can paint a scene in correct colours despite being unable to see what they are doing! Sure it's not _impossible_ that it could happen, but no-one with an ounce of common sense expects such an outrageously lucky outcome (or even for the paint to end up on the canvas!!) We don't want a cipher that might well be extremely strong, we want ciphers that are extremely likely to be strong... With cipher design we don't even have a way of distinquishing strong from weak, we merely have techniques or varying sophistication for trying to identify and measure weakness, and people more or less highly skilled at applying them and inventing new techniques of analysis. The cipher designer needs to iterate the design through more and more sophisticated analyses until it _seems_ both appropriately secure and efficient. Then the next step is to enlist some more people to help in the process of searching for missed weaknesses, and eventually publication. Its an ongoing process of weeding out weaknesses, gradually bringing in more and more people as one's confidence in the lack of "silly mistakes" grows, just like any other safety-critical large-scale engineering project. There certainly is a lot of scope for amateurs to suggest _ideas_ to use in cipher design, but a serious _design_ itself needs to be at the centre of such a process of cryptanalysis, not just made up by inspired guesswork. So I'd agree that experience in cryptanalysis isn't necessary to create a plausible _looking_ design, but that it is an _absolute necessity_ for creating an actual publishable design (unless you just wanted to create a toy cipher). If the 10000's of amateur cryptographers all started publishing designs, we'd be in a total mess! These days ciphers are expected to be used as building blocks for all sorts of security primitives, so even "security" involves resisitance to many different modes of attack, and the amount of work needed to design a cipher is usually beyond the skills and patience of a single individual anyway. Our whole digital infrastructure is going to depend on future ciphers being secure, and I for one don't want to see the information superhighway made of "concrete" that's washes away the first time it rains because its recipe was formulated by a well-meaning amateur who didn't know anything about QA'ing concrete!! __Mark [ markt@harlequin.co.uk | http://www.harlequin.co.uk/ | +44(0)1954 785433 ]
Subject: Re: Memo to the Amateur Cipher Designer Date: Thu, 22 Oct 1998 19:13:05 GMT From: jsavard@tenMAPSONeerf.edmonton.ab.ca (John Savard) Message-ID: <362f81e7.14525013@news.prosurfr.com> References: <kxsogkfzny.fsf@harlequin.co.uk> Newsgroups: sci.crypt Lines: 31 Mark Tillotson <markt@harlequin.co.uk> wrote, in part: >jsavard@freenet.edmonton.ab.ca () wrote: >| However, cryptanalysis is a discipline of its own, and requires either >| considerable stamina or advanced mathematical skills. One does not quite >| need these qualifications to design a secure cipher, particularly if one >| is following your earlier advice and not ignoring the lessons of previous >| designs. >Nonsense! How on earth can you claim to design a secure cipher if you are >_incapable_ of distinquishing a weak cipher from a strong cipher??? It >just doesn't make any sense at all. I emphatically _agree_ that if you know *nothing* about cryptanalysis, you won't be able to design a secure cipher (except by accident, or by copying someone else's design with trivial changes). I thought, though, that I was being clear in what I was trying to say; that while a _knowledge_ of cryptanalysis is needed, actually being a cryptanalyst - actually being able to carry out, in full, the cryptanalysis of a difficult cipher, or being able to make theoretical contributions to the field - is not, strictly speaking, necessary (although Bruce is still right that those sorts of qualifications will get you taken seriously) to design a secure cipher. Maybe you would find that position wrong-headed too, and I can understand that. But it's not nearly the same as the position you correctly characterized as expecting a blind person to paint. John Savard http://members.xoom.com/quadibloc/index.html
Subject: Re: Memo to the Amateur Cipher Designer Date: Thu, 22 Oct 1998 13:56:59 -0600 From: jgfunj@EnqvbSerrGrknf.pbz (W T Shaw) Message-ID: <jgfunj-2210981357000001@dialup159.itexas.net> References: <kxsogkfzny.fsf@harlequin.co.uk> Newsgroups: sci.crypt Lines: 131 In article <kxsogkfzny.fsf@harlequin.co.uk>, Mark Tillotson <markt@harlequin.co.uk> wrote: > jsavard@freenet.edmonton.ab.ca () wrote: > | And a general familiarity with the principles of cryptanalysis, especially > | as they apply to the kind of cipher one is attempting to design, is going > | to be an important guide away from various pitfalls. > | > | However, cryptanalysis is a discipline of its own, and requires either > | considerable stamina or advanced mathematical skills. One does not quite > | need these qualifications to design a secure cipher, particularly if one > | is following your earlier advice and not ignoring the lessons of previous > | designs. > > Nonsense! How on earth can you claim to design a secure cipher if you are > _incapable_ of distinquishing a weak cipher from a strong cipher??? It > just doesn't make any sense at all. Many imply that if you simply follow their rules for cipher construction, you need not do much of the analysis yourself. They even suggest that someone else do it, a catch 22. > > That's like saying a blind person can paint a scene in correct colours > despite being unable to see what they are doing! Sure it's not > _impossible_ that it could happen, but no-one with an ounce of common sense > expects such an outrageously lucky outcome (or even for the paint to > end up on the canvas!!) Did you see the story on TV about the guy who is blind and bicycles. He has learned sonic location, and clicks his tongue as a generator. Out of curiosity, I once asked a blind man to describe different colors. The explanations he had remembered from what he had heard made sense. This is somewhat in line with my above comments about following someone else's crypto design strategies. > We don't want a cipher that might well be > extremely strong, we want ciphers that are extremely likely to be > strong... According to someone else's plan.... > > With cipher design we don't even have a way of distinquishing strong > from weak, we merely have techniques or varying sophistication for > trying to identify and measure weakness, and people more or less > highly skilled at applying them and inventing new techniques of > analysis. The cipher designer needs to iterate.... As in a Feisal construction? > the design through > more and more sophisticated analyses until it _seems_ both > appropriately secure and efficient. Appropriate for whom? Not too strong, but just about right? Efficient? Meets the requirements of someone of few thoughts worth encrypting or that of a government who would hide the routine from the prying eyes of the curious? > Then the next step is to enlist > some more people to help in the process of searching for missed > weaknesses, and eventually publication. Enlist? Easy for the military to say. Publication? Easy for the established press to say. > > Its an ongoing process of weeding out weaknesses, gradually bringing > in more and more people as one's confidence in the lack of "silly > mistakes" grows, just like any other safety-critical large-scale > engineering project. Large scale projects can fail too...The Broken Pyramid, notable bridge collapses(interior and exterior), numerous levee systems, multistory old masonry buildings in earthquakes, anti-disease vaccinations pushed in hopes that they would work in time of war, etc. Granted, it is easy to guard against some cryptological mistakes, while others are sort of obscure, overcoming prejudice and criticism against concepts that are generally well know is also a hurdle. > > There certainly is a lot of scope for amateurs to suggest _ideas_ to > use in cipher design, but a serious _design_ itself needs to be at the > centre of such a process of cryptanalysis, not just made up by > inspired guesswork. All productive guesswork is inspired, it is just the nature of the inspiration that you really question, but it does not always come in the same form. If you do follow someone else's ingredient list, you may, no surprise, produce ideas in line with the common logic of that receipe. > > So I'd agree that experience in cryptanalysis isn't necessary to > create a plausible _looking_ design, but that it is an _absolute > necessity_ for creating an actual publishable design (unless you just > wanted to create a toy cipher). If the 10000's of amateur > cryptographers all started publishing designs, we'd be in a total mess! Speak for yourself white man. > > These days ciphers are expected to be used as building blocks for all > sorts of security primitives, so even "security" involves resisitance > to many different modes of attack, and the amount of work needed to > design a cipher is usually beyond the skills and patience of a single > individual anyway. Ah, beyond the Expert Syndrome to the group-think phenomena. And, I suppose that such a design system would put ALL the names of the contributers out front. It would seem best to acknowledge even the most meager of efforts that helped the team, as it might make a difference if the coffee was brewed correctly. Including all the help would make the front people look less important, or are they not the essential ingredient in the first place? > > Our whole digital infrastructure is going to depend on future ciphers > being secure, and I for one don't want to see the information > superhighway made of "concrete" that's washes away the first time it > rains because its recipe was formulated by a well-meaning amateur who > didn't know anything about QA'ing concrete!! > Roads unlike cryptographic algorithms are best built under the old Roman model, and pavement has not improved much since. The problem with the whole digital infrastucture is that we have a very sick patient and the base question should be whether we should start over beginning with the very design of the lowest end to include historically known security wisdom and exted it throughout, not to whether we can put it in a rest home so as to prolong the agony. -- --- Passing a budgit that no single person has fully seen is bad. Ronnie was right at least once. --- Decrypt with ROT13 to get correct email address.
Subject: Re: Memo to the Amateur Cipher Designer Date: Mon, 26 Oct 1998 03:41:23 GMT From: schneier@counterpane.com (Bruce Schneier) Message-ID: <3633eed3.1151576@news.visi.com> References: <jgfunj-2210981357000001@dialup159.itexas.net> Newsgroups: sci.crypt Lines: 40 On Thu, 22 Oct 1998 13:56:59 -0600, jgfunj@EnqvbSerrGrknf.pbz (W T Shaw) wrote: >Many imply that if you simply follow their rules for cipher construction, >you need not do much of the analysis yourself. They even suggest that >someone else do it, a catch 22. Many are wrong. >> That's like saying a blind person can paint a scene in correct colours >> despite being unable to see what they are doing! Sure it's not >> _impossible_ that it could happen, but no-one with an ounce of common sense >> expects such an outrageously lucky outcome (or even for the paint to >> end up on the canvas!!) > >Did you see the story on TV about the guy who is blind and bicycles. He >has learned sonic location, and clicks his tongue as a generator. > >Out of curiosity, I once asked a blind man to describe different colors. >The explanations he had remembered from what he had heard made sense. This >is somewhat in line with my above comments about following someone else's >crypto design strategies. Remember that security is orthogonal to functionality. A blind guy gets feedback--from the pavement, large objects, etc--to tell him he is succeeding or failing at bicycle riding. An algorithm designer gets no such feedback. >> We don't want a cipher that might well be >> extremely strong, we want ciphers that are extremely likely to be >> strong... > >According to someone else's plan.... The totality of "someone elses" are the attackers. Bruce ********************************************************************** Bruce Schneier, President, Counterpane Systems Phone: 612-823-1098 101 E Minnehaha Parkway, Minneapolis, MN 55419 Fax: 612-823-1590 Free crypto newsletter. See: http://www.counterpane.com
Subject: Re: Memo to the Amateur Cipher Designer Date: Sun, 25 Oct 1998 23:31:04 -0600 From: jgfunj@EnqvbSerrGrknf.pbz (W T Shaw) Message-ID: <jgfunj-2510982331040001@207.22.198.192> References: <3633eed3.1151576@news.visi.com> Newsgroups: sci.crypt Lines: 20 In article <3633eed3.1151576@news.visi.com>, schneier@counterpane.com (Bruce Schneier) wrote: > > Remember that security is orthogonal to functionality. A blind guy > gets feedback--from the pavement, large objects, etc--to tell him he > is succeeding or failing at bicycle riding. An algorithm designer > gets no such feedback. Sure he does if and when what he did is discovered to be wanting. However, it is an oft used tactic to hide that news so that you can continue to read his mail. More to the point, the AES process is *designed* as a big feedback mechanism, the quicker acting the better. > -- --- Please excuse if there are multiple postings for my responses...I have no idea where they come from as I only receive one confirmation for each posting from my newsserver. --- Decrypt with ROT13 to get correct email address.
Subject: Re: Memo to the Amateur Cipher Designer Date: Mon, 26 Oct 1998 03:38:23 GMT From: schneier@counterpane.com (Bruce Schneier) Message-ID: <3633ee7c.1064691@news.visi.com> References: <kxsogkfzny.fsf@harlequin.co.uk> Newsgroups: sci.crypt Lines: 77 On 19 Oct 1998 14:29:21 +0100, Mark Tillotson <markt@harlequin.co.uk> wrote: >jsavard@freenet.edmonton.ab.ca () wrote: >| And a general familiarity with the principles of cryptanalysis, especially >| as they apply to the kind of cipher one is attempting to design, is going >| to be an important guide away from various pitfalls. >| >| However, cryptanalysis is a discipline of its own, and requires either >| considerable stamina or advanced mathematical skills. One does not quite >| need these qualifications to design a secure cipher, particularly if one >| is following your earlier advice and not ignoring the lessons of previous >| designs. > >Nonsense! How on earth can you claim to design a secure cipher if you are >_incapable_ of distinquishing a weak cipher from a strong cipher??? It >just doesn't make any sense at all. > >That's like saying a blind person can paint a scene in correct colours >despite being unable to see what they are doing! Sure it's not >_impossible_ that it could happen, but no-one with an ounce of common sense >expects such an outrageously lucky outcome (or even for the paint to >end up on the canvas!!) We don't want a cipher that might well be >extremely strong, we want ciphers that are extremely likely to be >strong... Good comment. >With cipher design we don't even have a way of distinquishing strong >from weak, we merely have techniques or varying sophistication for >trying to identify and measure weakness, and people more or less >highly skilled at applying them and inventing new techniques of >analysis. The cipher designer needs to iterate the design through >more and more sophisticated analyses until it _seems_ both >appropriately secure and efficient. Then the next step is to enlist >some more people to help in the process of searching for missed >weaknesses, and eventually publication. > >Its an ongoing process of weeding out weaknesses, gradually bringing >in more and more people as one's confidence in the lack of "silly >mistakes" grows, just like any other safety-critical large-scale >engineering project. > >There certainly is a lot of scope for amateurs to suggest _ideas_ to >use in cipher design, but a serious _design_ itself needs to be at the >centre of such a process of cryptanalysis, not just made up by >inspired guesswork. Agreed. >So I'd agree that experience in cryptanalysis isn't necessary to >create a plausible _looking_ design, but that it is an _absolute >necessity_ for creating an actual publishable design (unless you just >wanted to create a toy cipher). If the 10000's of amateur >cryptographers all started publishing designs, we'd be in a total mess! 1000s of TriStratas and Ultimate Privacies. Sounds horrible. >These days ciphers are expected to be used as building blocks for all >sorts of security primitives, so even "security" involves resisitance >to many different modes of attack, and the amount of work needed to >design a cipher is usually beyond the skills and patience of a single >individual anyway. > >Our whole digital infrastructure is going to depend on future ciphers >being secure, and I for one don't want to see the information >superhighway made of "concrete" that's washes away the first time it >rains because its recipe was formulated by a well-meaning amateur who >didn't know anything about QA'ing concrete!! Rah rah. Bruce ********************************************************************** Bruce Schneier, President, Counterpane Systems Phone: 612-823-1098 101 E Minnehaha Parkway, Minneapolis, MN 55419 Fax: 612-823-1590 Free crypto newsletter. See: http://www.counterpane.com
Subject: Re: Memo to the Amateur Cipher Designer Date: Mon, 26 Oct 1998 08:18:40 GMT From: cryptonews@my-dejanews.com Message-ID: <711b90$he8$1@nnrp1.dejanews.com> References: <3633ee7c.1064691@news.visi.com> Newsgroups: sci.crypt Lines: 30 In article <3633ee7c.1064691@news.visi.com>, schneier@counterpane.com (Bruce Schneier) wrote: > >So I'd agree that experience in cryptanalysis isn't necessary to > >create a plausible _looking_ design, but that it is an _absolute > >necessity_ for creating an actual publishable design (unless you just > >wanted to create a toy cipher). If the 10000's of amateur > >cryptographers all started publishing designs, we'd be in a total mess! > > 1000s of TriStratas and Ultimate Privacies. Sounds horrible. This is not about crypto and security, it is rather becoming about Bruce Schneir BIG EGO and what he thinks the world should be.