Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ jobs:
python-version: '3.12'
- run: python -m pip install reuse
- run: python -m reuse lint
typos:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This module differs from other similar modules by providing a
streaming-capable implementation (data can be passed to the hash
object in chunnks and a digest extracted at the end) and by providing
an interface compatible to the hash functions provided by the
:mod:`hashlib` standard library module. Binary wheels are provied for
:mod:`hashlib` standard library module. Binary wheels are provided for
all supported Python releases on the most common platforms. More
platforms can be added to the build job as needed.

Expand Down Expand Up @@ -62,7 +62,7 @@ respectively. These functions take two optional parameters:
bytes-like object. It can be passed only as positional argument.

* **key** -- key for keyed hashing, which must be a bytes-like
object. The passed key can be up to 16 bytes in lenght. Shorter keys
object. The passed key can be up to 16 bytes in length. Shorter keys
are zero padded to 16 bytes. It can be passed only as a keyword
argument.

Expand Down
2 changes: 1 addition & 1 deletion siphash24.pyx.in
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ cdef class siphash{{variant}}:
return hexlify(hash)

def intdigest(self):
"""Return the digest calue as a signed 64bit integer."""
"""Return the digest value as a signed 64bit integer."""
cdef CSipHash state
memcpy(&state, &self.state, sizeof(state))
cdef uint64_t hash = c_siphash_finalize_{{variant}}(&state)
Expand Down
Loading