Questions about this topic? Sign up to ask in the talk tab.

Talk:Bitwise math

From NetSec
Revision as of 16:19, 4 October 2012 by LashawnSeccombe (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Emulations

Primitive emulations are the reproducing of any particular operation using exclusively operations that do not include the original. There are 3 types of emulations: direct, indirect, and conditional.


XOR

 a xor b = (a and (not b)) or ((not a) and b)
 a xor b = not ( (not (a and (not b)) and (not ( (not a) and b ) ) )

OR

 a or b = not ( (not a) and (not b) )


NOT

  not a = a xor 0xff