★ wanayoo — archive 1999 http://www.mindrot.org/code/secsplit.php3Nouvelle recherche | Portail wanayoo
[ h o m e ] [ a r t ] [ c o d e ] [ m u s i c ] [ c r y p t o ] [ l i n k s ] [ e m a i l ]
[ s e c s p l i t ]

secret-share

This is a clean up of Hal Finney's public domain secret sharing program secsplit. Secsplit implements N of M sharing, i.e breaking a piece of information into N pieces (or shadows) such that any M pieces are needed to reconstruct the original.

Secsplit uses the LaGrange polynomial interpolation scheme as explained in "How to Share a Secret", by Adi Shamir, Communications of the ACM, November, 1979, Volume 22, Number 11, page 612.

I found the original secsplit code here. It had been unmaintained since 1993, but compiled fine. The code below is a cleanup, ANSIfication and deDOSification of the original. It requires a /dev/urandom or equivalent and is known to compile and run on Linux (Redhat 6.1 i386) and OpenBSD (2.6 i386).

Downloads