python-pkcs11 icon indicating copy to clipboard operation
python-pkcs11 copied to clipboard

Update digest sample code in the docs

Open the-black-viper opened this issue 5 years ago • 1 comments

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)

the-black-viper avatar Sep 11 '19 07:09 the-black-viper

Send a pull request?

danni avatar Sep 11 '19 19:09 danni