<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oinume</author_name>
  <author_url>https://blog.hatena.ne.jp/oinume/</author_url>
  <blog_title>oinume journal</blog_title>
  <blog_url>https://oinume.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>in English</anon>
  </categories>
  <description>There are a lot of examples to use math/rand. However, should use crypto/rand if you want to generate an unpredictable random value. That's because crypto/rand uses getrandom(2) if available, /dev/urandom otherwise on Linux. As a real world example, UUID v4 uses crypto/rand internally. UUID v4) is r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foinume.hatenablog.com%2Fentry%2Fgenerating-an-unpredictable-random-value-in-go&quot; title=&quot;Generating an unpredictable random value in Go - oinume journal&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://blog.golang.org/gopher/gopher.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-14 09:00:00</published>
  <title>Generating an unpredictable random value in Go</title>
  <type>rich</type>
  <url>https://oinume.hatenablog.com/entry/generating-an-unpredictable-random-value-in-go</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
