i have old code that encrypt user password written in pyton
def encrypt_password(plain_password: str, salt: str) -> str:
password = plain_password.encode("utf-8")
kdf = PBKDF2HMAC(
algorithm=hashes.SHA256(),
length=32,
salt=salt.encode("utf-8"),
iterations=100000,
backend=default_backend()
)
result = base64.urlsafe_b64encode(kdf.derive(password))
return result.decode("utf-8")
how i can translate to golang code ?
i search for the library that familiar like PBKDF2HMAC but in golang i didnt get it thank you