Create true random keys
Closed this issue · 0 comments
KopfKrieg commented
From a paranoid my point of view the code to generate a random key is not safe:
chars = string.ascii_letters + string.digits + string.punctuation
return ''.join(random.choice(chars) for i in range(length))
It's still better than no random key but should be improved as soon as possible. Bad thing: I didn't find a way yet to do this in python. Any ideas?