<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>blog.V1ru8.net &#187; crypto</title>
	<atom:link href="http://blog.v1ru8.net/tag/crypto/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.v1ru8.net</link>
	<description></description>
	<lastBuildDate>Mon, 28 Sep 2009 15:55:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Helpfully functions in mathematica for cryptographic</title>
		<link>http://blog.v1ru8.net/2008/01/04/helpfully-functions-in-mathematica-for-cryptographic/</link>
		<comments>http://blog.v1ru8.net/2008/01/04/helpfully-functions-in-mathematica-for-cryptographic/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 19:00:22 +0000</pubDate>
		<dc:creator>Thomas Post</dc:creator>
				<category><![CDATA[Math]]></category>
		<category><![CDATA[crypto]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[mathematica]]></category>

		<guid isPermaLink="false">http://www.v1ru8.net/2008/01/04/helpfully-functions-in-mathematica-for-cryptographic/</guid>
		<description><![CDATA[Square and multiply algorithm:  PowerMod Inverse function  PowerMod Chinese Remainder  Chinese Remainder Square root PowerModList Discrete Logarithm  Prime Numbers  returns you a prime RandomPrime Prime Factors  FactorInteger Euler Phi  EulerPhi]]></description>
			<content:encoded><![CDATA[<ul>
<li><span style="font-weight: bold" class="Apple-style-span">Square and multiply algorithm:</span> <span><img src='/wp-content/latexrender/pictures/d022feda8350d8d0e9fbdd039e16fdcb.gif' title='x^y \mod n \Rightarrow $PowerMod$[x,y,n] ' alt='x^y \mod n \Rightarrow $PowerMod$[x,y,n] ' align=absmiddle> <a href="http://reference.wolfram.com/mathematica/ref/PowerMod.html" target="_blank" title="Mathematica Manual">PowerMod</a></span></li>
<li><span style="font-weight: bold" class="Apple-style-span">Inverse function </span> <img src='/wp-content/latexrender/pictures/5f9adc4f56c1db8155451e780df7a7af.gif' title='x \cdot x^{-1} \equiv 1 \mod n \Rightarrow n = $PowerMod$[x,-1,n]' alt='x \cdot x^{-1} \equiv 1 \mod n \Rightarrow n = $PowerMod$[x,-1,n]' align=absmiddle><a href="http://reference.wolfram.com/mathematica/ref/PowerMod.html" target="_blank" title="Mathematica Manual">PowerMod</a></li>
<li><span class="Apple-style-span" style="font-weight: bold">Chinese Remainder </span>
<ul>
<li><img src='/wp-content/latexrender/pictures/20e3bbb28cfdd985e6bdd33b7da5d816.gif' title='x \equiv 2 \mod 3' alt='x \equiv 2 \mod 3' align=absmiddle></li>
</ul>
<ul>
<li><img src='/wp-content/latexrender/pictures/fdfb3a310582aef976a5be38870b59eb.gif' title='x \equiv 3 \mod 4' alt='x \equiv 3 \mod 4' align=absmiddle></li>
<li><img src='/wp-content/latexrender/pictures/48b6f35bb5208dcf91b6901166a3a39e.gif' title='x \equiv 2 \mod 5' alt='x \equiv 2 \mod 5' align=absmiddle></li>
</ul>
<ul>
<li><img src='/wp-content/latexrender/pictures/0ca5fe2563a31839b2974c5aa96165a4.gif' title=' \Rightarrow x = $ChineseRemainder$[\{2,3,2\},\{3,4,5\}]' alt=' \Rightarrow x = $ChineseRemainder$[\{2,3,2\},\{3,4,5\}]' align=absmiddle></li>
<li><span style="color: #551a8b; text-decoration: underline" class="Apple-style-span"><a href="http://reference.wolfram.com/mathematica/ref/ChineseRemainder.html" target="_blank" title="Chinese Remainder">Chinese Remainder</a></span></li>
</ul>
</li>
<li><span class="Apple-style-span" style="font-weight: bold">Square root</span> <img src='/wp-content/latexrender/pictures/5190035efb4b60366280eaa23e1eb581.gif' title='\sqrt{y} \equiv x \mod n \Rightarrow x = $PowerModList$[y,\frac{1}{2},n]' alt='\sqrt{y} \equiv x \mod n \Rightarrow x = $PowerModList$[y,\frac{1}{2},n]' align=absmiddle><a href="http://reference.wolfram.com/mathematica/ref/PowerModList.html" title="Mathematica Manual" target="_blank">PowerModList</a></li>
<li><span class="Apple-style-span" style="font-weight: bold">D</span><span style="font-weight: bold" class="Apple-style-span">iscrete Logarithm</span> <img src='/wp-content/latexrender/pictures/362a0ae3cc8397dd0923ad5fee3c38a9.gif' title='y^x \equiv z \mod n \Rightarrow x = \text{MultiplicativeOrder}[y,n,\{r\}]' alt='y^x \equiv z \mod n \Rightarrow x = \text{MultiplicativeOrder}[y,n,\{r\}]' align=absmiddle></li>
<li><span class="Apple-style-span" style="font-weight: bold">Prime Numbers</span> <img src='/wp-content/latexrender/pictures/bd7bb430d0a85b5f73e9856752370188.gif' title='\text{RandomPrime}[\{x,y\}]' alt='\text{RandomPrime}[\{x,y\}]' align=absmiddle> returns you a prime <img src='/wp-content/latexrender/pictures/3622d8b560f9c872fc749310e2450bc9.gif' title='x &amp;lt; p &amp;lt; y' alt='x &amp;lt; p &amp;lt; y' align=absmiddle><a href="http://reference.wolfram.com/mathematica/ref/RandomPrime.html" title="Mathematica Manual" target="_blank">RandomPrime</a></li>
<li><span class="Apple-style-span" style="font-weight: bold">Prime Factors</span> <img src='/wp-content/latexrender/pictures/834aa730b0bc48bf1c6167882462fe64.gif' title='\text{FactorInteger}[n]' alt='\text{FactorInteger}[n]' align=absmiddle> <a href="http://reference.wolfram.com/mathematica/ref/FactorInteger.html" title="Mathematica Manual" target="_blank">FactorInteger</a></li>
<li><span style="font-weight: bold" class="Apple-style-span">Euler Phi</span> <img src='/wp-content/latexrender/pictures/ef3e9a54b095b1507fccb1c3a600c436.gif' title='\varphi(n) \Rightarrow \text{EulerPhi}[n]' alt='\varphi(n) \Rightarrow \text{EulerPhi}[n]' align=absmiddle> <a href="http://reference.wolfram.com/mathematica/ref/EulerPhi.html" title="Mathematica Manual" target="_blank">EulerPhi</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.v1ru8.net/2008/01/04/helpfully-functions-in-mathematica-for-cryptographic/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

