- Trapdoor function
A trapdoor function is a function that is easy to compute in one direction, yet believed to be difficult to compute in the opposite direction (finding its inverse) without special information, called the "trapdoor". Trapdoor functions are widely used in
cryptography .In mathematical terms, if "f" is a trapdoor function there exists some secret information "y", such that given "f(x)" and "y" it is easy to compute "x". Consider taking an engine apart. It would not be very easy to put it together again unless of course you had the assembly instructions. These instructions would be the trapdoor that allow you to return the engine to its original state.
Trapdoor functions came to prominence in cryptography in the mid-1970s with the publication of asymmetric encryption techniques by Diffie, Hellman, and Merkle. Indeed, Diffie and Hellman first coined the term (Diffie and Hellman, 1976). Several function classes have been proposed, and it soon became obvious that trapdoor functions are harder to find than was initially thought. For example, an early suggestion was to use schemes based on the
subset sum problem . This turned out -- rather quickly -- to be unsuitable.As of 2004 , the best known trapdoor function (family) candidates are theRSA and Rabin families of functions. Both are written as exponentiation modulo a composite number, and both are related to the problem ofprime factorization .Functions related to the hardness of the
discrete logarithm problem (either modulo a prime or in a group defined over an elliptic curve) are "not" known to be trapdoor functions, because there is no known "trapdoor" information about the group that enables the efficient computation of discrete logs. However, the discrete logarithm problem can be used as the basis for a trapdoor when the related problems called thecomputational Diffie-Hellman problem (CDH) and/or its decisional variant are used. The semantically secure version of theElGamal Cryptosystem relies on theDecision Diffie-Hellman problem (DDH). TheDigital Signature Algorithm is based on CDH in a prime order subgroup.A trapdoor in cryptography has the very specific aforementioned meaning and is not to be confused with a backdoor (these are frequently used interchangeably and this is incorrect). A backdoor is a deliberate mechanism that is added to a cryptographic algorithm (e.g., a key pair generation algorithm, digital signing algorithm, etc.) or operating system, for example, that permits one or more unauthorized parties to bypass or subvert the security of the system in some fashion.
ee also
*
One-way function References
* W. Diffie and M. Hellman. New Directions in Cryptography. IEEE Trans. Info. Theory 22(6), pp644–654 (1976). [http://www.cs.rutgers.edu/~tdnguyen/classes/cs671/presentations/Arvind-NEWDIRS.pdf PDF version of the paper]
Wikimedia Foundation. 2010.