Compute a hash digest of some data. Similar to above but returns a bytes object.
(data: bytes)
| 580 | |
| 581 | |
| 582 | def hash_digest_bytes(data: bytes) -> bytes: |
| 583 | """Compute a hash digest of some data. |
| 584 | |
| 585 | Similar to above but returns a bytes object. |
| 586 | """ |
| 587 | return hashlib.sha1(data).digest() |
| 588 | |
| 589 | |
| 590 | def parse_gray_color(cup: bytes) -> str: |
no outgoing calls
no test coverage detected
searching dependent graphs…