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

# Talk:Bitwise math

From NetSec

## Contents

## 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