This commit is contained in:
kp2pml30 2024-10-20 16:32:01 +04:00
parent 5d8c6dd080
commit f2f4ead62f
7 changed files with 9317 additions and 6 deletions

11
private/genpass.py Normal file
View file

@ -0,0 +1,11 @@
import secrets
with open("words.txt", "rt") as f:
lines = [l.strip() for l in f]
bits = secrets.randbits(300)
mx = len(lines)
while bits > 0:
print(lines[bits % mx], end=' ')
bits //= mx
print()