Python Forum
Finite fields (Galois library)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finite fields (Galois library)
#1
Say, I want a finite field containing $2^n$ elements for some positive $n$. How to get a single random primitive element in Python, different from that provided by the Conway polynomial, or a specific set of different primitive elements?

I know that Python's Galois library gives the option to calculate "GF.primitive_elements" or "GF.primitive_element" but I need two things:

1. Only one primitive element (not all) for each primitive polynomial (Referring to the method "GF.primitive_elements").

2. A single random primitive element different from that provided by the Conway polynomial (Referring to the method "GF.primitive_element")
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Compare fields from two csv files georgebijum 3 1,375 Apr-25-2022, 11:16 PM
Last Post: Pedroski55
  Json fields not being retrieved mrcurious2020 4 2,067 Sep-14-2020, 06:24 AM
Last Post: bowlofred
  Mapping Fields zak308 0 2,507 Jan-09-2018, 10:02 PM
Last Post: zak308
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 4,817 May-06-2017, 11:29 AM
Last Post: harun2525

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020