ciphers.elgamal_key_generator

Attributes

min_primitive_root

Functions

generate_key(→ tuple[tuple[int, int, int, int], ...)

main(→ None)

make_key_files(→ None)

primitive_root(→ int)

Module Contents

ciphers.elgamal_key_generator.generate_key(key_size: int) tuple[tuple[int, int, int, int], tuple[int, int]]
ciphers.elgamal_key_generator.main() None
ciphers.elgamal_key_generator.make_key_files(name: str, key_size: int) None
ciphers.elgamal_key_generator.primitive_root(p_val: int) int
ciphers.elgamal_key_generator.min_primitive_root = 3