<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>http://wiki.ptt-lab.com/index.php?action=history&amp;feed=atom&amp;title=RSA%E6%9A%97%E5%8F%B7</id>
	<title>RSA暗号 - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.ptt-lab.com/index.php?action=history&amp;feed=atom&amp;title=RSA%E6%9A%97%E5%8F%B7"/>
	<link rel="alternate" type="text/html" href="http://wiki.ptt-lab.com/index.php?title=RSA%E6%9A%97%E5%8F%B7&amp;action=history"/>
	<updated>2026-04-24T21:16:52Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>http://wiki.ptt-lab.com/index.php?title=RSA%E6%9A%97%E5%8F%B7&amp;diff=306&amp;oldid=prev</id>
		<title>2024年9月23日 (月) 06:52にPttによる</title>
		<link rel="alternate" type="text/html" href="http://wiki.ptt-lab.com/index.php?title=RSA%E6%9A%97%E5%8F%B7&amp;diff=306&amp;oldid=prev"/>
		<updated>2024-09-23T06:52:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年9月23日 (月) 15:52時点における版&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-l4&quot;&gt;4行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;4行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;メッセージ &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; を暗号化する。&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;メッセージ &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; を暗号化する。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;=== 鍵の生成 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;=== 鍵の生成 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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 class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;# 素数 &amp;lt;math&amp;gt;p,q&amp;lt;/math&amp;gt; を用意する&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;# 素数 &amp;lt;math&amp;gt;p,q&amp;lt;/math&amp;gt; を用意する&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;# 合成数 &amp;lt;math&amp;gt;N=pq&amp;lt;/math&amp;gt; をつくる&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;# 合成数 &amp;lt;math&amp;gt;N=pq&amp;lt;/math&amp;gt; をつくる&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;# &amp;lt;math&amp;gt;(p-1)(q-1)&amp;lt;/math&amp;gt; と互いに素な整数 &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; をとる&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;# &amp;lt;math&amp;gt;(p-1)(q-1)&amp;lt;/math&amp;gt; と互いに素な整数 &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; をとる&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;# &amp;lt;math&amp;gt;ed&amp;lt;/math&amp;gt; を &amp;lt;math&amp;gt;(p-1)(q-1)&amp;lt;/math&amp;gt;で割った余りが1になるように 整数 &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; をとる&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;# &amp;lt;math&amp;gt;ed&amp;lt;/math&amp;gt; を &amp;lt;math&amp;gt;(p-1)(q-1)&amp;lt;/math&amp;gt;で割った余りが1になるように 整数 &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; をとる&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;math&gt;e, N&amp;lt;/math&gt; を送信者に伝える。&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;=== 暗号化 ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;=== 暗号化 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ptt</name></author>
	</entry>
	<entry>
		<id>http://wiki.ptt-lab.com/index.php?title=RSA%E6%9A%97%E5%8F%B7&amp;diff=305&amp;oldid=prev</id>
		<title>Ptt: ページの作成:「RSA暗号は公開鍵暗号の一つで、大きい数の素因数分解が困難であることを安全性の根拠としている。  == 手法 == メッセージ &lt;math&gt;m&lt;/math&gt; を暗号化する。 === 鍵の生成 === # 素数 &lt;math&gt;p,q&lt;/math&gt; を用意する # 合成数 &lt;math&gt;N=pq&lt;/math&gt; をつくる # &lt;math&gt;(p-1)(q-1)&lt;/math&gt; と互いに素な整数 &lt;math&gt;e&lt;/math&gt; をとる # &lt;math&gt;ed&lt;/math&gt; を &lt;math&gt;(p-1)(q-1)&lt;/math&gt;で割った余りが1になるよ…」</title>
		<link rel="alternate" type="text/html" href="http://wiki.ptt-lab.com/index.php?title=RSA%E6%9A%97%E5%8F%B7&amp;diff=305&amp;oldid=prev"/>
		<updated>2024-09-23T06:49:57Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「RSA暗号は&lt;a href=&quot;/index.php?title=%E5%85%AC%E9%96%8B%E9%8D%B5%E6%9A%97%E5%8F%B7&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;公開鍵暗号 (存在しないページ)&quot;&gt;公開鍵暗号&lt;/a&gt;の一つで、大きい数の素因数分解が困難であることを安全性の根拠としている。  == 手法 == メッセージ &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; を暗号化する。 === 鍵の生成 === # 素数 &amp;lt;math&amp;gt;p,q&amp;lt;/math&amp;gt; を用意する # 合成数 &amp;lt;math&amp;gt;N=pq&amp;lt;/math&amp;gt; をつくる # &amp;lt;math&amp;gt;(p-1)(q-1)&amp;lt;/math&amp;gt; と互いに素な整数 &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; をとる # &amp;lt;math&amp;gt;ed&amp;lt;/math&amp;gt; を &amp;lt;math&amp;gt;(p-1)(q-1)&amp;lt;/math&amp;gt;で割った余りが1になるよ…」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;RSA暗号は[[公開鍵暗号]]の一つで、大きい数の素因数分解が困難であることを安全性の根拠としている。&lt;br /&gt;
&lt;br /&gt;
== 手法 ==&lt;br /&gt;
メッセージ &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; を暗号化する。&lt;br /&gt;
=== 鍵の生成 ===&lt;br /&gt;
# 素数 &amp;lt;math&amp;gt;p,q&amp;lt;/math&amp;gt; を用意する&lt;br /&gt;
# 合成数 &amp;lt;math&amp;gt;N=pq&amp;lt;/math&amp;gt; をつくる&lt;br /&gt;
# &amp;lt;math&amp;gt;(p-1)(q-1)&amp;lt;/math&amp;gt; と互いに素な整数 &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; をとる&lt;br /&gt;
# &amp;lt;math&amp;gt;ed&amp;lt;/math&amp;gt; を &amp;lt;math&amp;gt;(p-1)(q-1)&amp;lt;/math&amp;gt;で割った余りが1になるように 整数 &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; をとる&lt;br /&gt;
&lt;br /&gt;
=== 暗号化 ===&lt;br /&gt;
&amp;lt;math&amp;gt;c = m^e ~\%~ N&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 復号 ===&lt;br /&gt;
&amp;lt;math&amp;gt;m = c^d ~\%~ N&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ptt</name></author>
	</entry>
</feed>