add pc boot support, update cargo.lock
All checks were successful
build docker container automatically / build (push) Successful in 7m7s
All checks were successful
build docker container automatically / build (push) Successful in 7m7s
This commit is contained in:
10
gen_pass.py
Normal file
10
gen_pass.py
Normal file
@ -0,0 +1,10 @@
|
||||
from passlib.hash import pbkdf2_sha512
|
||||
|
||||
def pbkdf2_sha512_mcf(password: str) -> str:
|
||||
return pbkdf2_sha512.using(
|
||||
rounds=100_000,
|
||||
salt_size=16,
|
||||
).hash(password)
|
||||
|
||||
p = input("pass (will echo) :")
|
||||
print(pbkdf2_sha512_mcf(p))
|
||||
Reference in New Issue
Block a user