All checks were successful
build docker container automatically / build (push) Successful in 7m7s
11 lines
245 B
Python
11 lines
245 B
Python
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))
|