Update 'pubkeyenc.py'

This commit is contained in:
Mikołaj Lubiak 2022-06-17 17:02:04 +00:00
parent 33f69ad631
commit a4be9c9d20
1 changed files with 2 additions and 0 deletions

View File

@ -1,8 +1,10 @@
#!/usr/bin/env python
from genprime import genPrime
from sys import argv
from functools import reduce
from operator import mul
if argv[1] == "gen":
privkey = (genPrime(), genPrime())
print(f"---PRIVKEY1---\n\n{privkey[0]}\n\n---PRIVKEY1---\n\n\n\n---PRIVKEY2---\n\n{privkey[1]}\n\n---PRIVKEY2---")