<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
		<id>https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=%E3%82%BB%E3%82%AD%E3%83%A5%E3%83%AA%E3%83%86%E3%82%A3%2Fphp%E3%82%B9%E3%83%88%E3%83%AC%E3%83%83%E3%83%81%E3%83%B3%E3%82%B0%E4%BE%8B</id>
		<title>セキュリティ/phpストレッチング例 - 変更履歴</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.nonip.net/index.php?action=history&amp;feed=atom&amp;title=%E3%82%BB%E3%82%AD%E3%83%A5%E3%83%AA%E3%83%86%E3%82%A3%2Fphp%E3%82%B9%E3%83%88%E3%83%AC%E3%83%83%E3%83%81%E3%83%B3%E3%82%B0%E4%BE%8B"/>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=%E3%82%BB%E3%82%AD%E3%83%A5%E3%83%AA%E3%83%86%E3%82%A3/php%E3%82%B9%E3%83%88%E3%83%AC%E3%83%83%E3%83%81%E3%83%B3%E3%82%B0%E4%BE%8B&amp;action=history"/>
		<updated>2026-04-24T18:10:22Z</updated>
		<subtitle>このウィキのこのページに関する変更履歴</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>https://wiki.nonip.net/index.php?title=%E3%82%BB%E3%82%AD%E3%83%A5%E3%83%AA%E3%83%86%E3%82%A3/php%E3%82%B9%E3%83%88%E3%83%AC%E3%83%83%E3%83%81%E3%83%B3%E3%82%B0%E4%BE%8B&amp;diff=221&amp;oldid=prev</id>
		<title>127.0.0.1: ページの作成:「 &lt;?php  define('FIXEDSALT', 'bc578d1503b4602a590d8f8ce4a8e634a55bec0d');  define('STRETCHCOUNT', 1000);  // ソルト生成  function get_salt($id) {    return $id . pack...」</title>
		<link rel="alternate" type="text/html" href="https://wiki.nonip.net/index.php?title=%E3%82%BB%E3%82%AD%E3%83%A5%E3%83%AA%E3%83%86%E3%82%A3/php%E3%82%B9%E3%83%88%E3%83%AC%E3%83%83%E3%83%81%E3%83%B3%E3%82%B0%E4%BE%8B&amp;diff=221&amp;oldid=prev"/>
				<updated>2015-05-19T18:08:56Z</updated>
		
		<summary type="html">&lt;p&gt;ページの作成:「 &amp;lt;?php  define(&amp;#039;FIXEDSALT&amp;#039;, &amp;#039;bc578d1503b4602a590d8f8ce4a8e634a55bec0d&amp;#039;);  define(&amp;#039;STRETCHCOUNT&amp;#039;, 1000);  // ソルト生成  function get_salt($id) {    return $id . pack...」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt; &amp;lt;?php&lt;br /&gt;
 define('FIXEDSALT', 'bc578d1503b4602a590d8f8ce4a8e634a55bec0d');&lt;br /&gt;
 define('STRETCHCOUNT', 1000);&lt;br /&gt;
 // ソルト生成&lt;br /&gt;
 function get_salt($id) {&lt;br /&gt;
   return $id . pack('H*', FIXEDSALT);&lt;br /&gt;
 }&lt;br /&gt;
 function get_password_hash($id, $pwd) {&lt;br /&gt;
   $salt = get_salt($id);&lt;br /&gt;
   $hash =' '';&lt;br /&gt;
   for ($i = 0; $i &amp;lt; STRETCHCOUNT; $i++) {&lt;br /&gt;
     $hash = hash('sha256', $hash . $pwd . $salt);  // ストレッチング&lt;br /&gt;
   }&lt;br /&gt;
   return $hash;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
体系的に学ぶ安全なWebアプリケーションの作り方(P327&lt;br /&gt;
&lt;br /&gt;
ウェブアプリでパスワード保護はどこまでやればいいか.ppt(P43)徳丸氏&lt;br /&gt;
http://www.slideshare.net/ockeghem/how-to-guard-your-password&lt;/div&gt;</summary>
		<author><name>127.0.0.1</name></author>	</entry>

	</feed>