Improve code examples in hashlib cookie signing (GH-3562)
The `blake2b` function does not take the `data` keyword argument. The hex digest returned by sign was a string, whereas compare_digest expects bytes-like objects. Typo fix: compare_digesty -> compare_digest
S
sww committed
312ffead1eb272535e021e248b5d74ab04b2e72e
Parent: c3e97d9
Committed by Mariatta <Mariatta@users.noreply.github.com>
on 9/14/2017, 6:24:36 AM