So what I am doing is creating a 94char key that uses string.digits
+ string.ascii_letters
+ string.punctuation
I use this for generating the key (grabbed from this site thanks :) )
def key_pass(size=94, chars=string.digits + string.ascii_letters + string.punctuation):
return ''.join(random.choice(chars) for x in range(size))
which creates something like this
9bMMqy-lB6Mt},bOxr@1ljey_\Z\gk`xRJBP;3YFR*i<N<!MB}_|0p3f5Q"l8'xEj)WHYGk7O]vQZ1cZ'(diMKS*gW%u$
What I'm really wanting to do is something that just randomly organizes the 94characters in the chars
var. So I can't have anything that repeats I just cant seem to get the right way to implement an if statement that would check the variable
Any advice?