README
gf2
Math operations for the Galois field of two elements
Description
The wikipedia article on GF(2) is quite good.
This library provides an add
function so that 1 + 1 = 0
as it would when using GF(2).
Tested On
- Google Chrome
- Node.js 6+
To Build
- See CONTRIBUTING.md.
To Use
import { add } from 'gf2'
- Use
gf2.add(1, 1) = 0
Project Structure
Source and test code are located in the src
directory.
Functionality
- Currently only the
add
function.
License
:copyright: Willy Nolan 2018