Module myAES.BinaryGaloisFeild
Binary Galois Field object with math operators overwritten for easier use by AES
Classes
class GF2 (value: int)
-
Class representing a binary galois field
Methods
def bitfield(self, n: int) ‑> list
def extendedEuclideanGF2(self, a: int, b: int) ‑> Tuple[int, int, int]
def gf_degree(self, a: int) ‑> int
def modinv(self, m: GF2) ‑> int
def toPolynomial(self) ‑> str