from aes import *
from rsa import *
import sys


def main():
    try:
        n=int(sys.argv[1])
    except:
        n=int(input("Numero de Clientes: "))
    sKey = genSKey_RSA()
    save_private_key(sKey,"keys/privateServidor.txt")
    save_public_key(genPKey(sKey),"keys/publicServidor.txt")        

    for i in range (n):
        sKey = genSKey_RSA()
        save_private_key(sKey,"keys/private"+str(i)+".txt")
        save_public_key(genPKey(sKey),"keys/public"+str(i)+".txt")


if __name__ == "__main__":
    main()    
b2549a5e45eb39c7b1ab2b91000a3f900f6ff9b3
<mask token>

<mask token>


def main():
    try:
        n = int(sys.argv[1])
    except:
        n = int(input('Numero de Clientes: '))
    sKey = genSKey_RSA()
    save_private_key(sKey, 'keys/privateServidor.txt')
    save_public_key(genPKey(sKey), 'keys/publicServidor.txt')
    for i in range(n):
        sKey = genSKey_RSA()
        save_private_key(sKey, 'keys/private' + str(i) + '.txt')
        save_public_key(genPKey(sKey), 'keys/public' + str(i) + '.txt')


<mask token>

<mask token>


def main():
    try:
        n = int(sys.argv[1])
    except:
        n = int(input('Numero de Clientes: '))
    sKey = genSKey_RSA()
    save_private_key(sKey, 'keys/privateServidor.txt')
    save_public_key(genPKey(sKey), 'keys/publicServidor.txt')
    for i in range(n):
        sKey = genSKey_RSA()
        save_private_key(sKey, 'keys/private' + str(i) + '.txt')
        save_public_key(genPKey(sKey), 'keys/public' + str(i) + '.txt')


if __name__ == '__main__':
    main()

from aes import *
from rsa import *
import sys


def main():
    try:
        n = int(sys.argv[1])
    except:
        n = int(input('Numero de Clientes: '))
    sKey = genSKey_RSA()
    save_private_key(sKey, 'keys/privateServidor.txt')
    save_public_key(genPKey(sKey), 'keys/publicServidor.txt')
    for i in range(n):
        sKey = genSKey_RSA()
        save_private_key(sKey, 'keys/private' + str(i) + '.txt')
        save_public_key(genPKey(sKey), 'keys/public' + str(i) + '.txt')


if __name__ == '__main__':
    main()

from aes import *
from rsa import *
import sys


def main():
    try:
        n=int(sys.argv[1])
    except:
        n=int(input("Numero de Clientes: "))
    sKey = genSKey_RSA()
    save_private_key(sKey,"keys/privateServidor.txt")
    save_public_key(genPKey(sKey),"keys/publicServidor.txt")        

    for i in range (n):
        sKey = genSKey_RSA()
        save_private_key(sKey,"keys/private"+str(i)+".txt")
        save_public_key(genPKey(sKey),"keys/public"+str(i)+".txt")


if __name__ == "__main__":
    main()    