Secret sharing

Secret sharing

Secret sharing refers to any method for distributing a "secret" amongst a group of participants, each of which is allocated a "share" of the secret. The secret can only be reconstructed when the shares are combined together; individual shares are of no use on their own.

More formally, in a secret sharing scheme there is one "dealer" and "n" "players". The dealer gives a secret to the players, but only when specific conditions are fulfilled. The dealer accomplishes this by giving each player a share in such a way that any group of "t" (for "threshold") or more players can together reconstruct the secret but no group of fewer than "t" players can. Such a system is called a "(t, n)"-threshold scheme (sometimes it is written as an "(n, t)"-threshold scheme).

Secret sharing was invented by both Adi Shamir and George Blakley independently in 1979.

Motivation - A flawed secret sharing scheme

A secure secret sharing scheme distributes shares so that anyone with fewer than "t" shares has no extra information about the secret than someone with 0 shares. Consider the naive secret sharing scheme in which the secret phrase "password" is divided into the shares "pa------," "--ss----," "----wo--," and "------rd,". A person with 0 shares knows only that the password consists of eight letters. He would have to guess the password from 268 = 208 billion possible combinations. A person with one share, however, would have to guess only the six letters, from 266 = 308 million combinations, and so on as more persons collude. This system is not a secure secret sharing scheme, because a player with fewer than "t" shares gains significant information about the content of the secret. In a secure scheme, even a player missing only one share should still face 268 = 208 billion combinations.

Limitations of secret sharing schemes

Several secret sharing schemes are said to be information theoretically secure and can be proved to be so, while others give up this "unconditional security" for improved efficiency while maintaining enough security to be considered as secure as other common cryptographic primitives. For example, they might allow arbitrarily large secrets to be protected by 128-bit shares, since the 2128 possible shares are generally considered enough to stymie any conceivable present-day adversary.

Common to all unconditionally secure secret sharing schemes, there are limitations:
* Each share of the secret must be at least as large as the secret itself. This result is based in information theory, but can be understood intuitively. Given "t-1" shares, no information whatsoever can be determined about the secret. Thus, the final share must contain as much information as the secret itself.
* All secret sharing schemes use random bits. To distribute a one-bit secret among threshold "t" people, "t-1" random bits are necessary. The final share contains as much information as the secret, but the other "t-1" shares still provide relevant information individually. This information cannot be the secret, so it must be random.

Trivial secret sharing

There are several "(t, n)" secret sharing schemes for "t = n", when all shares are necessary to recover the secret:
* Encode the secret as an integer "s". Give to each player "i" (except one) a random integer "ri". Give to the last player the number (s - r_1 - r_2 - ... - r_{n-1}). The secret is the sum of the players' shares.
* Encode the secret as a byte "s". Give to each player "i" (except one) a random byte "bi". Give to the last player the byte "(s XOR b1 XOR b2 XOR "..." XOR bi)" where "XOR" is bitwise XOR. The secret is the bitwise XOR of the players' shares.

When space efficiency is not a concern, these schemes can be used to reveal a secret to any desired subsets of the players simply by applying the scheme for each subset. For example, to reveal a secret "s" to any two of the three players Alice, Bob and Carol, create three different (2,2) secret shares for "s", giving the three sets of two shares to Alice and Bob, Alice and Carol, and Bob and Carol. This approach quickly becomes impractical as the number of subsets increases, for example when revealing a secret to any 50 of 100 players, whereas the schemes described below allow secrets to efficiently be shared with a threshold of players.

A t ≠ n example

The difficulty lies in creating schemes that are still secure, but do not require all "n" shares. For example, imagine that the Board of Directors of Coca-Cola would like to protect Coke's secret formula. The president of the company should be able to access the formula when needed, but in an emergency any 3 of the 12 board members would be able to unlock the secret formula together. This can be accomplished by a secret sharing scheme with "t" = 3 and "n" = 15, where 3 shares are given to the president, and 1 is given to each board member.

hamir's scheme

In this scheme, any "t" out of "n" shares may be used to recover the secret. The system relies on the idea that you can fit a unique polynomial of degree "(t-1)" to any set of "t" points that lie on the polynomial. It takes two points to define a straight line, three points to fully define a quadratic, four points to define a cubic, and so on. The method is to create a polynomial of degree "t-1" with the secret as the first coefficent and the remaining coefficients picked at random. Next find "n" points on the curve and give one to each of the players. When at least "t" out of the "n" players reveal their points, there is sufficient information to fit an "(t-1)"th degree polynomial to them, the first coefficient of the polynomial is the secret.

Blakley's scheme

Two nonparallel lines in the same plane intersect at exactly one point. Three "nonparallel" planes in space intersect at exactly one point. More generally, any "n n-dimensional hyperplanes" intersect at a specific point. The secret may be encoded as any single coordinate of the point of intersection. If the secret is encoded using all the coordinates, even if they are random, then an insider (someone in possession of one or more of the n-dimensional hyperplanes) gains information about the secret since he knows it must lie on his plane. If an insider can gain any more knowledge about the secret than an outsider can, then the system no longer has information theoretic security. If only one of the n coordinates is used, then the insider knows no more than an outsider (ie, that the secret must lie on the x-axis for a 2-dimensional system). Each player is given enough information to define a hyperplane; the secret is recovered by calculating the planes' point of intersection and then taking a specified coordinate of that intersection.

Blakley's scheme is less space-efficient than Shamir's; while Shamir's shares are each only as large as the original secret, Blakley's shares are "t" times larger, where "t" is the threshold number of players. Blakley's scheme can be tightened by adding restrictions on which planes are usable as shares. The resulting scheme is equivalent to Shamir's polynomial system.

Proactive secret sharing

If the players store their shares on insecure computer servers, an attacker could crack in and steal the shares. If it is not practical to change the secret, the uncompromised (Shamir-style) shares can be renewed. The dealer generates a new random polynomial with constant term zero and calculates for each remaining player a new ordered pair, where the x-coordinates of the old and new pairs are the same. Each player then adds the old and new y-coordinates to each other and keeps the result as the new y-coordinate of the secret.

All of the non-updated shares the attacker accumulated become useless. An attacker can only recover the secret if he can find enough other non-updated shares to reach the threshold. This situation should not happen because the players deleted their old shares. Additionally, an attacker cannot recover any information about the original secret from the update files because they contain only random information.

The dealer can change the threshold number while distributing updates, but must always remain vigilant of players keeping expired shares.

Verifiable secret sharing

A player might lie about his own share to gain access to other shares. A "verifiable secret sharing" (VSS) scheme allows players to be certain that no other players are lying about the contents of their shares, up to a reasonable probability of error. Such schemes cannot be computed conventionally; the players must collectively add and multiply numbers without any individual's knowing what exactly is being added and multiplied. Tal Rabin and Michael Ben-Or devised a "multiparty computing (MPC)" system that allows players to detect dishonesty on the part of the dealer or on part of up to one third of the threshold number of players, even if those players are coordinated by an "adaptive" attacker who can change strategies in realtime depending on what information has been revealed.

Other uses and applications

A secret sharing scheme can secure a secret over multiple servers and remain recoverable despite multiple server failures. The dealer may treat himself as several distinct participants, distributing the shares between himself. Each share may be stored on a different server, but the dealer can recover the secret even if several servers break down as long as he can recover at least "t" shares; however, crackers that break into one server would still not know the secret as long as less than "t" shares are stored on each server.

A dealer could send "t" shares, all of which are necessary to recover the original secret, to a single recipient. An attacker would have to intercept all "t" shares to recover the secret, a task which is more difficult than intercepting a single file, especially if the shares are sent using different media (e.g. some over the Internet, some mailed on CD's).

For exceptionally large secrets, it may be more worthwhile to encrypt the secret and then distribute the key using secret sharing.

ee also

* Shamir's Secret Sharing
* Homomorphic secret sharing - A simplistic decentralized voting protocol.
* Byzantine fault tolerance
* Access structure
* Secure multiparty computation
* Visual cryptography
* Tontine
* Shared secret - Similar name but not the same thing as secret sharing.

References

* cite journal
first = G. R. | last = Blakley
title = Safeguarding cryptographic keys | journal = Proceedings of the National Computer Conference
volume = 48 | pages = 313–317 | year = 1979

* cite journal
first = Adi | last = Shamir | authorlink = Adi Shamir
title = How to share a secret | journal = Communications of the ACM
volume = 22 | issue =11 | pages = 612–613 | year = 1979 | url = http://www.cs.tau.ac.il/~bchor/Shamir.html

* Citation
first = Donald | last = Knuth | authorlink = Donald Knuth
series = The Art of Computer Programming | volume = 2
title = Seminumerical Algorithms | edition = 3 | publisher = Addison-Wesley
year = 1997 | isbn = 0-201-89684-2 | page = 505

External links

* [http://point-at-infinity.org/ssss/ ssss: A free (GPL) implementation of Shamir's Scheme] with [http://point-at-infinity.org/ssss/demo.html online demo] .
* [http://www.rsasecurity.com/rsalabs/node.asp?id=2259 Description of Shamir's and Blakley's schemes]
* [http://www.pgp.com/newsroom/mediareleases/2004/keyreconpatent.html Patent for use of secret sharing for recovering PGP (and other?) pass phrases] US patent|6662299
* [http://www.cacr.math.uwaterloo.ca/~dstinson/ssbib.html A bibliography on secret-sharing schemes]
* [http://www.xml-dev.com/blog/index.php?action=viewtopic&id=130 Code signing systems using Shared Secret]
* Software products from [http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/trun_ha_newpolicy.html IBM] , [http://docs.sun.com/source/816-5547-10/index.html Sun] , and [http://docs.sun.com/source/816-5531-10/kycrt_ee.htm Netscape] , and hardware products from [http://www.safenet-inc.com/products/pki/lunaCA3.asp Safenet] use secret sharing. There are libraries for secret sharing in several programming languages.


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Secret Sharing — Unter Geheimnisteilung (geteiltes Geheimnis) oder Secret Sharing versteht man eine Technik, ein Geheimnis (meist eine Zahl) unter einer gewissen Anzahl von so genannten Spielern aufzuteilen. Keine der Personen kann ohne die anderen das Geheimnis… …   Deutsch Wikipedia

  • Verifiable secret sharing — In cryptography, a secret sharing scheme is verifiable if auxiliary information is included that allows players to verify their shares as consistent. More formally, verifiable secret sharing ensures that even if the dealer is malicious there is a …   Wikipedia

  • Shamir's Secret Sharing — is an algorithm in cryptography. It is a form of secret sharing, where a secret is divided into parts, giving each participant its own unique part, where some of the parts or all of them are needed in order to reconstruct the secret.Counting on… …   Wikipedia

  • Publicly Verifiable Secret Sharing — In cryptography, a secret sharing scheme is publicly verifiable (PVSS) if it is a verifiable secret sharing scheme and if any party involved can verify the validity of the shares distributed by the dealer.quotation In verifiable secret sharing… …   Wikipedia

  • Shamir's Secret Sharing — ist ein 1979 von Adi Shamir entwickeltes Secret Sharing Verfahren. Mit Hilfe eines solchen Verfahrens ist es möglich, ein Geheimnis auf mehrere Instanzen (Mitwisser) aufzuteilen, wobei eine gewisse Untermenge dieser Instanzen erforderlich ist, um …   Deutsch Wikipedia

  • Shamirs Secret Sharing — Shamir s Secret Sharing ist ein 1979 von Adi Shamir entwickeltes Secret Sharing Verfahren. Mit Hilfe eines solchen Verfahrens ist es möglich, ein Geheimnis auf mehrere Instanzen (Mitwisser) aufzuteilen, wobei eine gewisse Untermenge dieser… …   Deutsch Wikipedia

  • Homomorphic secret sharing — In cryptography, homomorphic secret sharing is a form of secret sharing algorithm involving homomorphism.In abstract algebra, a homomorphism is a structure preserving map between two algebraic structures (such as groups, rings, or vector spaces) …   Wikipedia

  • Shamir’s Secret Sharing — Shamir s Secret Sharing ist ein 1979 von Adi Shamir entwickeltes Secret Sharing Verfahren. Mit Hilfe eines solchen Verfahrens ist es möglich, ein Geheimnis auf mehrere „Instanzen“ (Mitwisser) aufzuteilen, wobei eine gewisse Untermenge dieser… …   Deutsch Wikipedia

  • Sharing — (von engl. to share „teilen“, „teilnehmen“, „verteilen“) steht für Sharing (Psychologie), den Erfahrungsaustausch nach psychotherapeutischen Sitzungen Filesharing, den Austausch oder die gemeinsame Nutzung von Dateien, Programmen, Musik, Spielen… …   Deutsch Wikipedia

  • secret services —    Founded in 1909, the British secret intelligence service revolves around two major departments of military intelligence with several adjunct executive branches. MI5 is concerned with state security and counter intelligence. Its… …   Encyclopedia of contemporary British culture

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”