XOR Is the Same as mod 2 Addition

From bibbleWiki
Jump to navigation Jump to search

Introduction

Feel I am circling the drain trying to get to GF(256) so here goes.

This video demonstrated the mod 2 addition = the same a XOR or ⊕

 ⊕         | mod 2 addition
 ---------------------------
 0 ⊕ 0 = 0 | 0+0/2 = 0 R 0
----------------------------
 0 ⊕ 1 = 1 | 0+1/2 = 0 R 1
---------------------------
 1 ⊕ 0 = 1 | 1+0/2 = 0 R 1
---------------------------
 1 ⊕ 1 = 0 | 1+1/2 = 1 R 0