This commit is contained in:
Bart Sjerps
2026-06-10 14:41:31 +02:00
parent 0a01479d24
commit 4f366bcddd
4 changed files with 639 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/python3
import argparse
import crypt
parser = argparse.ArgumentParser()
parser.add_argument('password')
args = parser.parse_args()
print(crypt.crypt(args.password, crypt.mksalt(crypt.METHOD_SHA512)))