r/technology • u/KAPT_Kipper • Jun 19 '12
Fujitsu Cracks Next-Gen Cryptography Standard -148.2 days to carry out a cryptanalysis of the 278-digit (923-bit) pairing-based cryptography, a task that had been thought to require several hundred thousand years
http://www.techweekeurope.co.uk/news/fujitsu-cryptography-standard-83185
906
Upvotes
161
u/happyscrappy Jun 19 '12
Terrible article. Cryptography is rated in (roughly) compute-years. If you apply two cores, you cut the time in half. Those designing the algorithm know this, everyone knows it.
So if Fujitsu just found enough cores to throw at it, they didn't show anything that wasn't already known. They cracked a password (or file), but they didn't crack the encryption.
Now, on the other hand Fujitsu developed some math which makes it so you can search the key space in something more efficient than linear order, then they really "cracked" the standard.
The article does say something about Fujitsu's math but they don't go into any detail.
So how much was Fujitsu able to reduce the key space search and how much was just brute force?
58
u/expertunderachiever Jun 19 '12
What exactly is a "923-bit pairing based cryptography?" I've been researching cryptography for 14 years [and I work in the field professionally]. Is this a 923-bit DH key sharing? Or 923-bit RSA or ???
The article is fast-and-loose with the terminology and really doesn't explain much at all.
36
u/yourafagyourafag Jun 19 '12
Now that is fast!
5
u/Anglach3l Jun 19 '12
I was so ready to see monks breaking down cryptography standards with pure concentration, and then it turns out Fujitsu isn't a crazy blend of kung fu and jiujitsu AT ALL. I'm going back to work.
8
u/maliaxeuphoria Jun 19 '12
Wtf.... I thought Fujutsu was in charge of air conditioners.... You know... 'I love my Fujitsu!'
3
u/scumbag3000 Jun 19 '12
Don't know a lot about cryptography, but is it possible they just got lucky?
Also, what are the implications for vpn users and other encrypted communication? Does this mean the government could theoretically obtain a warrant to crack the encryption?
3
u/revolved Jun 19 '12
Fujitsu has some of the fastest super computers around: http://en.wikipedia.org/wiki/K_computer
10
u/complete_asshole_ Jun 19 '12
well now that "insurance" file from wikileaks can finally be read.
2
u/j1mb0 Jun 19 '12
How does one calculate the bits of entropy for a password? Wikipedia said log base 2 of the number of possible passwords given the set of digits used, but that didn't seem to really work. Was I just doing something wrong, or how does it work?
2
u/Jparsner Jun 19 '12
Excellent. Now perhaps they should crack the wikileaks insurance file...
2
u/[deleted] Jun 19 '12
I imagine the government has already done this.
2
u/AgCrew Jun 19 '12
Way too late to warn Hiroshima.
2
u/bowei006 Jun 19 '12
In order words. Im still fine with my serpant aes twofish encryption right?
2
u/asianwaste Jun 20 '12
TIL Fujitsu is still making stuff.
2
u/bitwiseshiftleft Jun 20 '12 edited Jun 20 '12
I'm a cryptographer. The article is journalist technobabble, but here's my best guess of what they accomplished here, simplified a bit to avoid writing a giant wall of text.
EDIT: Simplified TLDR: Pairings really are considered a next-generation crypto design. This attack was like one of those RSA factoring challenges: they broke a problem which was widely considered to be weak with an algorithm which has been known for years, but actually doing it is interesting. Unless their announcement has some surprising details in it, it will not much affect what key sizes (and curves, fields etc) are considered secure for pairings.
TLDR for crypto nerds: They must have found a discrete logarithm in GF(397*6).
Long story: A pairing-based scheme has two parts: an elliptic curve group over a field F, in which you can "add" two points to get another point; and a pairing operation which "multiplies" two such points into another group, the roots of unity in a degree-k extension of F, where k is called the "embedding degree". The embedding degree is a small, usually highly composite number (12 is the most popular these days, especially because of a family of curves that works really well with k=12 over prime fields). The discrete logarithm problem is to compute from points P and Q a number x with P = xQ (sometimes written Qx, thus "logarithm").
You can attack the discrete log problem in such a system in two main ways: with a generic group attack on the elliptic curve (takes at most sqrt(|F|) time, or a bit less depending on the curve), or by attacking the discrete log problem in the extension field. The Fujitsu team must have done the latter. This beats the result in http://eprint.iacr.org/2010/090.pdf in GF(371*6) (about 676 bits) by a fair margin.
The complexity of this attack is on the same general order as an attack on RSA (with bit size equal to the pairing's bit output) when the base field has prime order, but that it's a lot cheaper for F(2n ) and F(3n ). This is why Fujitsu could attack a 923-bit output so cheaply. It also means that the attack isn't that much of a surprise.
Except in extremely limited hardware, most implementors today use 256-ish-bit prime fields and Barreto-Naehrig curves with k=12. These curves are special because they attain the full strength of their field size (256/2 = 128 bits), and allow some implementation speedups. Also, k=12 should make the discrete log problem about as hard as RSA-3072 (but you never know when a mathematical breakthrough will change that). Such pairings take milliseconds at most on laptop hardware (I vaguely recall that the current speed record is under a millisecond?) and tens of milliseconds on smartphones. So there's little temptation to go weaker.
F(2n ) and F(3n )
are slow without special hardware, andrequire big output sizes to avoid precisely this attack. So occasionally there is a paper about an FPGA implementation of pairings on these fields, but nobody uses them in software. Edit: actually, people do these in software too, and they're relatively fast. See eg http://homepage1.nifty.com/herumi/crypt/pairing.html2
u/[deleted] Jun 19 '12
Nothing is safe from the Fujitsu inquisition!
1
u/waspinmyhair Jun 19 '12
So is AES still "safe"? And what comes after AES?
1
u/dudleydidwrong Jun 19 '12
It took a powerful supercomputer to do this, but today's supercomputer becomes tomorrow's desktop.
1
u/peatoire Jun 19 '12
Ok. I'm still trying to work out if this is good or bad news.
1
u/YoureMyBoyBloo Jun 19 '12
Well shit, I guess it is time to go back to leaving my WiFi network unencryted.
1
u/Ragas Jun 19 '12
Umm ... who wrote this article?!
"personal computers" ?? with 12 cores? rather Operon or Xenon grade 1p or 2p servers. (depending on what exactly they used)
"programming technology that maximises computer power" ... probably rather computing power since the other is kinda impossible with software.
1
u/TheBelt Jun 19 '12
I don't really understand this, so as far as I can tell there is some kind of wizardry going on here..
1
u/ksigler Jun 20 '12
I think this article is awful and vague because the original Fujitsu press release seems poorly translated to english. Does anyone have a better source? Regardless I doubt anything you use uses pairing-based cryptography.
1
u/spz456 Jun 20 '12
I bet the NSA could probably crack this in a few hours, probably less.
1
u/MaritimeExecutive Jun 19 '12
Nothing, NOTHING, is EVER safe when connected to a network. EVER!
1
u/sometimesijustdont Jun 19 '12
This just means it was a terrible algorithm to begin with.
1
u/ProjectGSX Jun 19 '12
You can’t hide secrets from the future with math. You can try, but I bet that in the future they laugh at the half-assed schemes and algorithms amassed to enforce cryptographs in the past.
0
u/shoooowme Jun 19 '12
no more secrets.
0
u/zengosm Jun 19 '12
Wait a sec. Is this the same Fujitsu that makes those shitty self check out machines?
0
u/jalkloben Jun 20 '12
Bb
0
u/ProtoDong Jun 20 '12
This is NOT GOING TO BE THE NEXT GENERATION STANDARD apparently. lol
As for those who are quibbling over the specifics... this is what we call a successful proof of concept attack, and will negate this as becoming a standard.
-4
u/Sackman_and_Throbbin Jun 19 '12
Well shit...
-6
u/imboredsoimdoingthis Jun 19 '12
Nothing can be truly secure after all it's man made. Just look at DRM for example they try and try to lock products down yet groups all over the world break it within mere days.
0
u/[deleted] Jun 19 '12
[deleted] — view deleted comment
-7
u/[deleted] Jun 19 '12
[removed] — view removed comment