<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://certfhewiki.certsign.ro/wiki/index.php?action=history&amp;feed=atom&amp;title=FhePlayground</id>
	<title>FhePlayground - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://certfhewiki.certsign.ro/wiki/index.php?action=history&amp;feed=atom&amp;title=FhePlayground"/>
	<link rel="alternate" type="text/html" href="https://certfhewiki.certsign.ro/wiki/index.php?title=FhePlayground&amp;action=history"/>
	<updated>2026-05-14T12:45:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://certfhewiki.certsign.ro/wiki/index.php?title=FhePlayground&amp;diff=11&amp;oldid=prev</id>
		<title>Georgeg at 08:02, 27 February 2020</title>
		<link rel="alternate" type="text/html" href="https://certfhewiki.certsign.ro/wiki/index.php?title=FhePlayground&amp;diff=11&amp;oldid=prev"/>
		<updated>2020-02-27T08:02:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 08:02, 27 February 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Paragraph ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Paragraph ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This new paragraph should not appear in the page preview popup&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This new paragraph should not appear in the page preview popup&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ref name=&amp;quot;Perry&amp;quot;&amp;gt;A playground&amp;lt;/ref&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;ref name=&amp;quot;Perry&amp;quot;/&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Math formulas ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Math formulas ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot; &gt;Line 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where &amp;lt;math&amp;gt;\oplus&amp;lt;/math&amp;gt; denotes addition modulo 2, (i.e. [[Exclusive disjunction|exclusive-or]]).&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;where &amp;lt;math&amp;gt;\oplus&amp;lt;/math&amp;gt; denotes addition modulo 2, (i.e. [[Exclusive disjunction|exclusive-or]]).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== References ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;references&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* A playground&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/references&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key certfhewiki:diff::1.12:old-3:rev-11 --&gt;
&lt;/table&gt;</summary>
		<author><name>Georgeg</name></author>
		
	</entry>
	<entry>
		<id>https://certfhewiki.certsign.ro/wiki/index.php?title=FhePlayground&amp;diff=3&amp;oldid=prev</id>
		<title>Georgeg: Created page with &quot;This page paragraph should appear in the preview popup, alongside the picture that that it contains. My guess is that the preview of a page contains the first paragraph and th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://certfhewiki.certsign.ro/wiki/index.php?title=FhePlayground&amp;diff=3&amp;oldid=prev"/>
		<updated>2020-02-21T17:57:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This page paragraph should appear in the preview popup, alongside the picture that that it contains. My guess is that the preview of a page contains the first paragraph and th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page paragraph should appear in the preview popup, alongside the picture that that it contains. My guess is that the preview of a page contains the first paragraph and the media in that page, up to the first paragraph marked between double &amp;#039;=&amp;#039; equal sign&lt;br /&gt;
&lt;br /&gt;
A fully homomorphic encryption (FHE) scheme is an encryption scheme which supports computation on encrypted data: given a ciphertext that encrypts some data μ, one can compute a ciphertext that encrypts f(μ) for any efficiently computable function f, without ever needing to decrypt the data or know the decryption key. FHE has numerous theoretical and practical applications, the canonical one being to the problem of outsourcing computation to a remote server without compromising one’s privacy. In 2009, Gentry put forth the first candidate construction of FHE based on ideal lattices [Gen09]. Since then, substantial progress has been made [vDGHV10, SS10, SV10, BV11a, BV11b, BGV12, GHS12, GSW13, BV14, AP14], offering various improvements in conceptual and technical simplicity, efficiency, security guarantees, assumptions, etc; in particular, Gentry, Sahai and Waters presented a very simple FHE (hereafter called the GSW cryptosystem) based on the standard learning with errors (LWE) assumption.&lt;br /&gt;
[[File:Fhe0.jpg|thumb]]&lt;br /&gt;
&lt;br /&gt;
== Paragraph ==&lt;br /&gt;
This new paragraph should not appear in the page preview popup&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Math formulas ==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
{+}\colon \mathfrak{R}\times R\to R.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Math formulas2 ==&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
{+}\colon \mathbb{R}\times R\to R.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sqrt[3]{x^3+y^3 \over 2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\int\limits_{1}^{3}{x}\qquad \int*{\sqrt{x^2 + \frac{1}{3}}}\qquad\int[\Bigg]{\sqrt{x^2}} = |x|&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\prime, \backprime, f^\prime, f&amp;#039;, f&amp;#039;&amp;#039;, f^{(3)}, \dot y, \ddot y&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_1^n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a plaintext vector &amp;lt;math&amp;gt; \vec z = (z_1,z_2,...,z_{n/2}) \in \mathbb{C}^{n/2} &amp;lt;/math&amp;gt; and a scaling factor &amp;lt;math&amp;gt; \Delta &amp;gt; 1 &amp;lt;/math&amp;gt;, the plaintext vector is encoded as a polynomial &amp;lt;math&amp;gt; m(X) \in R:= \mathbb{Z}[X]/(X^n+1) &amp;lt;/math&amp;gt;&lt;br /&gt;
by computing &amp;lt;math&amp;gt; m(X) = \lfloor \Delta \cdot \phi^{-1}(\vec z) \rceil \in R&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt; \lfloor \cdot \rceil &amp;lt;/math&amp;gt; denotes the coefficient-wise rounding function.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;ElGamal&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In the [[ElGamal encryption|ElGamal cryptosystem]], in a 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; with generator &amp;lt;math&amp;gt;g&amp;lt;/math&amp;gt;, if the public key is &amp;lt;math&amp;gt;(G, q, g, h)&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;h = g^x&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; is the secret key, then the encryption of a message &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\mathcal{E}(m) = (g^r,m\cdot h^r)&amp;lt;/math&amp;gt;, for some random &amp;lt;math&amp;gt;r \in \{0, \ldots, q-1\}&amp;lt;/math&amp;gt;. The homomorphic property is then&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\mathcal{E}(m_1) \cdot \mathcal{E}(m_2) &amp;amp;= (g^{r_1},m_1\cdot h^{r_1})(g^{r_2},m_2 \cdot h^{r_2}) \\[6pt]&lt;br /&gt;
&amp;amp;= (g^{r_1+r_2},(m_1\cdot m_2) h^{r_1+r_2}) \\[6pt]&lt;br /&gt;
&amp;amp;= \mathcal{E}(m_1 \cdot m_2).&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Goldwasser–Micali&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
In the [[Goldwasser–Micali cryptosystem]], if the public key is the modulus &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; and quadratic non-residue &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;, then the encryption of a bit &amp;lt;math&amp;gt;b&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\mathcal{E}(b) = x^b r^2 \;\bmod\; n&amp;lt;/math&amp;gt;, for some random &amp;lt;math&amp;gt;r \in \{0, \ldots, n-1\}&amp;lt;/math&amp;gt;. The homomorphic property is then&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\mathcal{E}(b_1)\cdot \mathcal{E}(b_2) &amp;amp;= x^{b_1} r_1^2 x^{b_2} r_2^2 \;\bmod\; n \\[6pt]&lt;br /&gt;
&amp;amp;= x^{b_1+b_2} (r_1r_2)^2 \;\bmod\; n \\[6pt]&lt;br /&gt;
&amp;amp;= \mathcal{E}(b_1 \oplus b_2).&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\oplus&amp;lt;/math&amp;gt; denotes addition modulo 2, (i.e. [[Exclusive disjunction|exclusive-or]]).&lt;/div&gt;</summary>
		<author><name>Georgeg</name></author>
		
	</entry>
</feed>