<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anton0825</author_name>
  <author_url>https://blog.hatena.ne.jp/anton0825/</author_url>
  <blog_title>日々精進</blog_title>
  <blog_url>https://anton0825.hatenablog.com/</blog_url>
  <categories>
    <anon>IT</anon>
  </categories>
  <description>11章はユーザ登録機能、ログイン機能の実装。 Railsのセッション変数管理は楽ちん。sessionハッシュにキーと値を入れればいい。 パスワードはユーザの設定した文字列＋ソルト値をSHAでハッシュ値に変換したものをDBに登録。 ソルト値とはなんぞや？と思って調べてみたところ、 ・偶然同じパスワードを設定したユーザがいた場合、一方のパスワードが破られたら他方のパスワードもわかってしまうので、パスワードに乱数（これがソルト値）をくっつけて同じパスワードからハッシュ値を生成しても異なる値になるようにするためのもの。 らしい。なるほど！ Webサイトを作ったらSSLで通信内容を暗号化する方法を調べよ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F20080516%2F1211954414&quot; title=&quot;RailsによるアジャイルWebアプリケーション開発 11章終了 - 日々精進&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-05-16 15:00:14</published>
  <title>RailsによるアジャイルWebアプリケーション開発 11章終了</title>
  <type>rich</type>
  <url>https://anton0825.hatenablog.com/entry/20080516/1211954414</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
