How to calculate multiplicative inverses in GF(2^3) without the Euclidean algorithm
odcizit49o
Answered question
2022-11-06
How to calculate multiplicative inverses in without the Euclidean algorithm The problem I have concerns finite field arithmetic in I know how to find multiplicative inverses using the extended Euclidean algorithm, but for my exams I need to calculate multiplicative inverses in without it. What's the best way to do this? Is there even a convenient way? The irreducible polynomial I have is .
Answer & Explanation
Aliya Moore
Beginner2022-11-07Added 17 answers
Step 1 is a pretty small base field, so to find the inverse of an element in is always really simple. For instance, let us find the inverse of . For any
holds in , so the inverse of can be found by solving in , leading to and . Step 2 Double-check:
Jairo Hodges
Beginner2022-11-08Added 2 answers
Step 1 As an alternative, build the table of the so called discrete logarithm. Let a be a root of . Then
So to compute the inverse of , say, you note that . Since , the inverse of is . Step 2 Note that in building the table you are doing Euclidean divisions in a simplified form. For instance