<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nullkal</author_name>
  <author_url>https://blog.hatena.ne.jp/nullkal/</author_url>
  <blog_title>九尾空間</blog_title>
  <blog_url>https://blog.nil.nu/</blog_url>
  <categories>
    <anon>技術</anon>
    <anon>Unreal Engine</anon>
  </categories>
  <description>はじめに Unreal Engineでゲーム開発しているとき、ふと乱数を使いたくなるときってありますよね。 サイコロを振りたいとき、攻撃の成功/失敗判定をしたいとき、ドロップするアイテムを確率で決めたいとき……。挙げていくときりがありません。 大体のケースでは FMath::RandRange() だったり FRandomStream だったりの簡易的な疑似乱数生成器で済むことも多いですが、たまに「暗号論的に安全な」「十分なエントロピーを持つ」乱数を生成したくなることがあります。 例えば、データの暗号化に使う秘密鍵を生成したかったり、OAuth 2.0 PKCEで使う認可コード横取り防止の c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.nil.nu%2Fentry%2F2025%2F03%2F19%2F013303&quot; title=&quot;【UE5】暗号論的に安全な疑似乱数を作りたい！(with OpenSSL) - 九尾空間&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>https://cdn-ak.f.st-hatena.com/images/fotolife/n/nullkal/20250319/20250319005508.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-03-19 01:33:03</published>
  <title>【UE5】暗号論的に安全な疑似乱数を作りたい！(with OpenSSL)</title>
  <type>rich</type>
  <url>https://blog.nil.nu/entry/2025/03/19/013303</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
