<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>deloreanmc12</author_name>
  <author_url>https://blog.hatena.ne.jp/deloreanmc12/</author_url>
  <blog_title>3流プログラマのメモ書き</blog_title>
  <blog_url>https://3ryupg.hatenablog.com/</blog_url>
  <categories>
    <anon>.Net開発</anon>
  </categories>
  <description>設定ファイルに保存する一部の文字列をちょいと暗号化したかったのでC#でやってみました。 .Netでは共通鍵暗号化方式として3DESが提供されているようで、TripleDESCryptoServiceProviderクラスを使うと簡単にできます。 //鍵 private const string CKEY = &quot;1234567890abcdefghujklm&quot;; //初期化ベクタ private const string CVEC = &quot;12345678&quot;; //暗号化処理 private static string Encript(string str) { byte[] src = Enco…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F3ryupg.hatenablog.com%2Fentry%2F2010%2F02%2F10%2F004400&quot; title=&quot;(.Net)文字列を暗号化する(3DES) - 3流プログラマのメモ書き&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>2010-02-10 00:44:00</published>
  <title>(.Net)文字列を暗号化する(3DES)</title>
  <type>rich</type>
  <url>https://3ryupg.hatenablog.com/entry/2010/02/10/004400</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
