ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 13 Oct 2022 14:29:51 +0200How to define a subgroup and get its generators?https://ask.sagemath.org/question/64425/how-to-define-a-subgroup-and-get-its-generators/ I am trying implement the Asychronous Group Auhtnetication Scheme with Multiple Authentication,and i was stucked.
Suppose that We get two big primes p and q and q divides p-1. GF(q) is a unique subgroup of GF(p) with order q,and every gi is a generator of GF(p).
i do not know how to construct a subgroup GF(q) meets the condition above .What makes me more confused that i remember GF(p) only has one generator 1, if i was wrong, how to get those generators gi?![image description](http://) charleyhootThu, 13 Oct 2022 14:29:51 +0200https://ask.sagemath.org/question/64425/