<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zarchis</author_name>
  <author_url>https://blog.hatena.ne.jp/zarchis/</author_url>
  <blog_title>だれかの雑記</blog_title>
  <blog_url>https://zarchis.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>概要 今回はxorと似た関数を探してみました。xorには以下のような性質があります。 f(x,y) = z の場合以下の式すべてが成り立つ f(y,x) = z f(x,z) = y f(y,z) = xこのような特徴があると「暗号文と鍵から平文」がつくれるので大変便利なのです。 eq関数 eq関数は、双方のbitが等しい時に1になるような関数です。 xorとちょうど反対の出力をします。 #xorの真理値表 0 1 0 0 1 1 1 0 #eqの真理値表 0 1 0 1 0 1 0 1これもxorと同様な性質がありました しかしxorと同様に(2^n)の法の中でしか成り立ちません。 補数の余…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzarchis.hatenadiary.org%2Fentry%2F20130514&quot; title=&quot;xorのような関数について - だれかの雑記&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/z/zarchis/20130514/20130514095656.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-05-14 00:00:00</published>
  <title>xorのような関数について</title>
  <type>rich</type>
  <url>https://zarchis.hatenadiary.org/entry/20130514</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
