<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mdgw</author_name>
  <author_url>https://blog.hatena.ne.jp/mdgw/</author_url>
  <blog_title>まどぎわBLOG</blog_title>
  <blog_url>https://mdgw.hateblo.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>暗号</anon>
  </categories>
  <description>JCEでDiffie-Hellman鍵交換を行う方法を調べた時のメモ*1。内容はAとBが秘密鍵を交換するシンプルなものです。最初にAがベースとなる素数等のパラメータを生成します。AlgorithmParameterGeneratorを使わずに、AlgorithmParametersのinit()にDHAlgorithmParameterSpecを直接生成して渡しても良いような気もしますが試していません。それとビットサイズの1024はJCEのデフォルトサイズに書いてあった数字をそのまま使っています。 AlgorithmParameterGenerator algoParamGenerator =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmdgw.hateblo.jp%2Fentry%2F20080202%2F1201947941&quot; title=&quot;JCEでDiffie-Hellman鍵交換を行う - まどぎわBLOG&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-02-02 19:25:41</published>
  <title>JCEでDiffie-Hellman鍵交換を行う</title>
  <type>rich</type>
  <url>https://mdgw.hateblo.jp/entry/20080202/1201947941</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
