python-pkcs11
python-pkcs11 copied to clipboard
Update digest sample code in the docs
In the docs:
digest = session.digest(data, mechanism=Mechanism.SHA_256)
This would lead to the error:
AttributeError(name) from None
It should be:
digest = session.digest(data, mechanism=Mechanism.SHA256)
Send a pull request?