<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">
<rss version="0.91">
<channel>
<title>「パスワードでファイルを暗号化する」へのコメント</title>
<link>http://dobon.net/cgi-bin/pc/pc.php?mode=v&amp;id=string%2Fencryptfile.html</link>
<description>「パスワードでファイルを暗号化する」に投稿されたコメントの一覧</description>
<language>ja</language>
<image>
<url>https://dobon.net/banner/dbs1.gif</url>
<link>http://dobon.net/cgi-bin/pc/pc.php?mode=v&amp;id=string%2Fencryptfile.html</link>
<title>「パスワードでファイルを暗号化する」へのコメント</title>
<width>88</width>
<height>31</height>
</image>
<item>
<title>通常のコメント</title>
<link>http://dobon.net/cgi-bin/pc/pc.php?mode=v&amp;id=string%2Fencryptfile.html#7</link>
<description><![CDATA[f you're trying to encrypt data using a password, how do you convert the password into a key for symmetric encryption? The easiest way might be to simply convert the password to a byte array, and use this array as your key. However, this is a very bad idea and will lead to an easily cracked system. First of all, for a 256 bit encryption algorithm your passwords would all have to be exactly 32 bytes, or you would end up with not enough bits for the key; or worse, too many bits for the key, meaning that every password that starts with the same eight characters will work to decrypt the data.<br><br>In the English language, passwords will probably only contain the characters a-z, A<br><br>英語が読めません]]></description>
</item>
<item>
<title>通常のコメント</title>
<link>http://dobon.net/cgi-bin/pc/pc.php?mode=v&amp;amp;id=string%2Fencryptfile.html#6</link>
<description><![CDATA[EncryptしていないファイルをDecryptすると、ファイルの終わりの方でエラーになるようです。]]></description>
</item>
<item>
<title>通常のコメント</title>
<link>http://dobon.net/cgi-bin/pc/pc.php?mode=v&amp;amp;id=string%2Fencryptfile.html#5</link>
<description><![CDATA[いつも参考にさせていただいています。子こちらのコードを大きなファイルで試したらエラーになってしまいました。&quot;cryptStreem.BeginWrite&quot;の書き方はどうすればよろしいでしょうか？ご教授いただけ内でしょうか？お願いします。]]></description>
</item>
<item>
<title>評価の理由</title>
<link>http://dobon.net/cgi-bin/pc/pc.php?mode=v&amp;amp;id=string%2Fencryptfile.html#4</link>
<description><![CDATA[評価：良い<br>難しそうに思える、暗号化／複合化が、初心者でも、できそうな説明でありがたいです。感謝します。]]></description>
</item>
<item>
<title>通常のコメント</title>
<link>http://dobon.net/cgi-bin/pc/pc.php?mode=v&amp;amp;id=string%2Fencryptfile.html#2</link>
<description><![CDATA[結構参考にされてる方が多いようなので念のため指摘しておきます。<br>パスワードから暗号鍵の生成の仕方がかなりまずいです。<br>そのまま使う場合はその点注意がいります。<br><br>特にDESでは文字コードを直接使ってはいけません。<br>最下位ビットがパリティになるため、鍵がさらに弱くなります。<br>またXORで合成してしまうと、更に鍵が単純になる場合があります。<br><br>せめてパスワードをハッシュするか、RFC2898DeriveBytesなどのパスワードベースの鍵派生機能を使うべきです。<br><br>IVを鍵と同じにすると、常に同じIVが使われることになりますが、これも一般にはまずいやり方です。]]></description>
</item>
<item>
<title>評価の理由</title>
<link>http://dobon.net/cgi-bin/pc/pc.php?mode=v&amp;amp;id=string%2Fencryptfile.html#1</link>
<description><![CDATA[評価：良い<br>メールを受信し一括でWebメールに転送するプログラムを作成したいと思い､メールを平文で流すのがいやで方法を探していました。]]></description>
</item>
</channel>
</rss>