<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuheiomori0718</author_name>
  <author_url>https://blog.hatena.ne.jp/yuheiomori0718/</author_url>
  <blog_title>メモ置き場</blog_title>
  <blog_url>https://y0m0r.hateblo.jp/</blog_url>
  <categories>
    <anon>memo</anon>
    <anon>golang</anon>
  </categories>
  <description>暗号やハッシュについては、cryptoパッケージにいろいろ揃っている。 crypto - The Go Programming Language package main import &quot;crypto/sha1&quot; import &quot;fmt&quot; func main() { s := &quot;任意の文字列&quot; h := sha1.New() // バイト配列を渡す h.Write([]byte(s)) // 結果をバイト配列で得る bs := h.Sum(nil) // 16進数で表示 fmt.Printf(&quot;%x\n&quot;, bs) } 実行結果 16c0d99d942bd57dee1284806fc7f0fe…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20131013%2F1381675752&quot; title=&quot;Go言語でSHA-1 - メモ置き場&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>2013-10-13 23:49:12</published>
  <title>Go言語でSHA-1</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20131013/1381675752</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
