PY
py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
'''/
*
* 5/31/24 Fixed: Added error handling due to
* argon2 module no longer being available in
* SL playground!
*
* Created by Keith Driscoll
* Date: 1/6/24
* Version: 2.1
*
* Description: Makes use of the secrets
* module and Argon2 module to produce a
* crytpography strong, valid password
* and hash.
*
/'''
try:
import subprocess
subprocess.run("pip -qqq install argon2-cffi".split(" "))
from argon2 import PasswordHasher
a2 = True
except:
a2 = False
import secrets
import re
from string import ascii_letters, digits, punctuation
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run