/GaloisField

Implementation of the Galois field in a polynomial basis

Primary LanguageC++

Galois Field

Software requirements

CMake and at least C++17

Overview

Implementation of the Galois field GF(2^293) in a polynomial basis using a polynomial generator: x^293 + x^11 + x^6 + x^1 + 1

Features

  • Adding operation
  • Multiplication operation
  • Trace calculation
  • Inverse calculation
  • Power calculation
  • Square calculation

Build and Usage

Follow these steps to build and run:

  1. Clone the GaloisField repository to your local machine:
https://github.com/avept/GaloisField.git
  1. Navigate to the project directory:
cd GaloisField
  1. Create a build directory:
mkdir build
cd build
  1. Generate the build system using CMake:
cmake ..
  1. Build the library:
make -j4