<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Hamiltonian_system</id>
	<title>Hamiltonian system - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Hamiltonian_system"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Hamiltonian_system&amp;action=history"/>
	<updated>2026-05-31T03:11:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Hamiltonian_system&amp;diff=7869&amp;oldid=prev</id>
		<title>en&gt;Yobot: Reference before punctuation, removed stub tag using AWB (9585)</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Hamiltonian_system&amp;diff=7869&amp;oldid=prev"/>
		<updated>2013-11-07T13:59:35Z</updated>

		<summary type="html">&lt;p&gt;Reference before punctuation, removed stub tag using &lt;a href=&quot;/index.php?title=Testwiki:AWB&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Testwiki:AWB (page does not exist)&quot;&gt;AWB&lt;/a&gt; (9585)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;decisional Diffie–Hellman (DDH) assumption&amp;#039;&amp;#039;&amp;#039; is a [[computational hardness assumption]] about a certain problem involving [[discrete logarithm]]s in [[cyclic group]]s. It is used as the basis to prove the security of many [[cryptography|cryptographic]] protocols, most notably the [[ElGamal encryption|ElGamal]] and [[Cramer–Shoup cryptosystem]]s.&lt;br /&gt;
&lt;br /&gt;
==Definition==&lt;br /&gt;
&lt;br /&gt;
Consider a (multiplicative) [[cyclic group]] &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt; of order &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt;, and with [[Generating set of a group|generator]] &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt;.  The DDH assumption states that, given &amp;lt;math&amp;gt;g^a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;g^b&amp;lt;/math&amp;gt; for uniformly and independently chosen  &amp;lt;math&amp;gt;a,b \in \mathbb{Z}_q&amp;lt;/math&amp;gt;, the value &amp;lt;math&amp;gt;g^{ab}&amp;lt;/math&amp;gt; &amp;quot;looks like&amp;quot; a random element in &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This intuitive notion is formally stated by saying that the following two probability distributions are [[computationally indistinguishable]] (in the [[security parameter]], &amp;lt;math&amp;gt;n=\log(q)&amp;lt;/math&amp;gt;):&lt;br /&gt;
* &amp;lt;math&amp;gt;(g^a,g^b,g^{ab})&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; are randomly and independently chosen from &amp;lt;math&amp;gt;\mathbb{Z}_q&amp;lt;/math&amp;gt;.&lt;br /&gt;
* &amp;lt;math&amp;gt;(g^a,g^b,g^c)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;a,b,c&amp;lt;/math&amp;gt; are randomly and independently chosen from &amp;lt;math&amp;gt;\mathbb{Z}_q&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Triples of the first kind are often called &amp;#039;&amp;#039;&amp;#039;DDH triples&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;DDH tuples&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
==Relation to other assumptions==&lt;br /&gt;
&lt;br /&gt;
The DDH assumption is related to the [[discrete logarithm|discrete log assumption]].  If it were possible to efficiently compute discrete logs in &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;, then the DDH assumption would not hold in &amp;lt;math&amp;gt;G&amp;lt;/math&amp;gt;. Given &amp;lt;math&amp;gt;(g^a,g^b,z)&amp;lt;/math&amp;gt;, one could efficiently decide whether &amp;lt;math&amp;gt;z=g^{ab}&amp;lt;/math&amp;gt; by first taking the discrete &amp;lt;math&amp;gt;log_g&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;g^a&amp;lt;/math&amp;gt;, and then comparing &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;(g^b)^a&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For this reason, DDH is considered a &amp;#039;&amp;#039;&amp;#039;stronger&amp;#039;&amp;#039;&amp;#039; assumption than discrete log, in the following sense: there are groups for which detecting DDH tuples is easy, but computing discrete logs is believed to be hard. Thus, requiring that the DDH assumption holds in a group is a more restricting requirement.&lt;br /&gt;
&lt;br /&gt;
The DDH assumption is also related to the [[computational Diffie–Hellman assumption]] (CDH).  If it were possible to efficiently compute &amp;lt;math&amp;gt;g^{ab}&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;(g^a,g^b)&amp;lt;/math&amp;gt;, then one could easily distinguish the two probability distributions above.  Similar to above, DDH is considered a stronger assumption than CDH.&lt;br /&gt;
&lt;br /&gt;
==Other properties==&lt;br /&gt;
&lt;br /&gt;
The problem of detecting DDH tuples is [[random self-reducibility|random self-reducible]], meaning, roughly, that if it is hard for even a small fraction of inputs, it is hard for almost all inputs; if it is easy for even a small fraction of inputs, it is easy for almost all inputs.&lt;br /&gt;
&lt;br /&gt;
==Groups for which DDH is assumed to hold==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- using {{disputed}} instead of {{disputed-section}} otherwise the talk page link is missing --&amp;gt;&lt;br /&gt;
{{disputed|Incorrect claims|date=July 2013}}&lt;br /&gt;
&lt;br /&gt;
When using a cryptographic protocol whose security depends on the DDH assumption, it is important that the protocol is implemented using groups where DDH is believed to hold:&lt;br /&gt;
&lt;br /&gt;
* The subgroup of &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;th residues modulo a prime &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;(p-1)/k&amp;lt;/math&amp;gt; is also a large prime (also called a [[Schnorr group]]). For the case of &amp;lt;math&amp;gt;k=2&amp;lt;/math&amp;gt;, this corresponds to the group of [[quadratic residue]]s modulo a [[safe prime]].&lt;br /&gt;
&lt;br /&gt;
* The cyclic group of order &amp;lt;math&amp;gt;(p-1)(q-1)/2&amp;lt;/math&amp;gt; of quadratic residues modulo &amp;lt;math&amp;gt;pq&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;q&amp;lt;/math&amp;gt; are [[safe prime]]s.&lt;br /&gt;
&lt;br /&gt;
* A prime-order [[elliptic curve]] &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; over the [[field (mathematics)|field]] &amp;lt;math&amp;gt;GF(p)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is prime, provided &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; has large embedding degree.&lt;br /&gt;
&lt;br /&gt;
* A [[Jacobian]] of a [[hyper-elliptic curve]] over the [[field (mathematics)|field]] &amp;lt;math&amp;gt;GF(p)&amp;lt;/math&amp;gt; with a prime number of reduced divisors, where &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is prime, provided the Jacobian has large embedding degree.&lt;br /&gt;
&lt;br /&gt;
Importantly, the DDH assumption &amp;#039;&amp;#039;&amp;#039;does not hold&amp;#039;&amp;#039;&amp;#039; in the multiplicative group &amp;lt;math&amp;gt;\mathbb{Z}^*_p&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt; is prime. This is because given &amp;lt;math&amp;gt;g^a&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;g^b&amp;lt;/math&amp;gt;, one can efficiently compute the [[Legendre symbol]] of &amp;lt;math&amp;gt;g^{ab}&amp;lt;/math&amp;gt;, giving a successful method to distinguish &amp;lt;math&amp;gt;g^{ab}&amp;lt;/math&amp;gt; from a random group element.  &lt;br /&gt;
&lt;br /&gt;
The DDH assumption does not hold on elliptic curves over &amp;lt;math&amp;gt;GF(p)&amp;lt;/math&amp;gt; with small embedding degree (say, less than &amp;lt;math&amp;gt;\log^2(p)&amp;lt;/math&amp;gt;), a class which includes [[supersingular elliptic curve]]s.  This is because the [[Weil pairing]] or [[Tate pairing]] can be used to solve the problem directly as follows: given &amp;lt;math&amp;gt;P,aP,bP,cP&amp;lt;/math&amp;gt; on such a curve, one can compute &amp;lt;math&amp;gt;e(P,cP)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;e(aP,bP)&amp;lt;/math&amp;gt;.  By the bilinearity of the pairings, the two expressions are equal if and only if &amp;lt;math&amp;gt;ab=c&amp;lt;/math&amp;gt; modulo the order of &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt;.  If the embedding degree is large (say around the size of &amp;lt;math&amp;gt;p&amp;lt;/math&amp;gt;) then the DDH assumption will still hold because the pairing cannot be computed.  Even if the embedding degree is small, there are some subgroups of the curve in which the DDH assumption is believed to hold.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Diffie–Hellman problem]]&lt;br /&gt;
* [[Diffie–Hellman key exchange]]&lt;br /&gt;
* [[Computational hardness assumptions]]&lt;br /&gt;
* [[XDH assumption]]&lt;br /&gt;
* [[Decisional Linear assumption]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*{{cite journal |authorlink=Dan Boneh |first=Dan |last=Boneh |title=The Decision Diffie–Hellman Problem |journal=Proceedings of the Third Algorithmic Number Theory Symposium |series=Lecture Notes in Computer Science |volume=1423 |pages=48–63 |year=1998 |doi=10.1007/BFb0054851 }}&lt;br /&gt;
&lt;br /&gt;
{{Cryptography navbox | public-key}}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Decisional Diffie-Hellman assumption}}&lt;br /&gt;
[[Category:Computational hardness assumptions]]&lt;br /&gt;
[[Category:Elliptic curve cryptography]]&lt;/div&gt;</summary>
		<author><name>en&gt;Yobot</name></author>
	</entry>
</feed>