This forum has been archived on Sep. 16, 2018 in read mode only.
2008 Reports :  Cryptology ePrint Archive Forum
Discussion forum for Cryptology ePrint Archive reports posted in 2008. Please put the report number in the subject.  
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew Topic••
2008/409 (fast secret sharing): Am I missing something?
Posted by: mdw (IP Logged)
Date: 02 October 2008 18:56

I didn't read this paper very closely, but something seems catastrophically wrong, particularly with the authors' claimed speed for Shamir sharing.

The authors claimed that they tested the sharing systems on secrets of 4.5MB in length; their graph shows Shamir's scheme as taking about a hundred seconds for each individual operation.

I've just thrown together a script in Python, using my own (quite old) implementation of Shamir's scheme. The program generates a 4.5MB random string, and shares and reconstructs it once for each set of parameters they tested. The whole program, random number generation (I used RC4), splitting, joining, and all, for all six parameter sets, finishes in 20s on my aging 2.6GHz Pentium 4 machine.

I can now add (quick and dirty) timing to my program, calling the clock(3) function to count CPU seconds. (This is Linux; it counts in centiseconds.) Secret recombination is always too fast to measure; I'll round everything up. Splitting takes up to 6cs -- a bit over a twentieth of a second (this happens when creating 109 shares; their program takes a second to do this). The whole thing, not counting random number generation, takes 28cs.

Admittedly, I'm not using SSSS, and I'm not using 128 byte chunks. But why would I? Doing bignum maths here is crazy. Each individual byte is shared separately and independently, using Shamir in GF(2^8). I use discrete log() and exp() tables, and XOR. This is still just as secure (unless you have enough shares, each secret byte is uniform and independent of your view).

This wasn't my idea. I got it from shsecret.c, written by David Madore, and placed by him into the public domain: []. Others have come up with the same idea elsewhere, I believe independently.

The implementation is my own, though, and I used a standard polynomial basis for GF(2^8) rather than the Conway multiplication that David used (not that it matters when you're just doing table lookups).

So: my old implementation (written in 2000, according to my revision control system, with a few cosmetic changes since) of Shamir's sharing system seems to knock the pants of Kurihara et al's shiny new one.

What's going on here? Where did the idea come from that Shamir is slow?

-- [mdw]

Re: 2008/409 (fast secret sharing): Am I missing something?
Posted by: luolan (IP Logged)
Date: 19 October 2008 06:58

What is about Financial Cryptography and Data Security 2008? As if this conference is not belong to IACR. IACR should include financial cryptography. And there are a lot of companies such as Boeing and Trusted Computing Group need cryptography research. So why don't you cooperate with them ? -------I often read your online papers by free and there are seldom their papers.

Edited 2 time(s). Last edit at 23-Oct-2008 12:27 by luolan.

Goto: Forum ListMessage List••
Please log in for posting a message. Only registered users may post in this forum.