File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ This module differs from other similar modules by providing a
1717streaming-capable implementation (data can be passed to the hash
1818object in chunnks and a digest extracted at the end) and by providing
1919an interface compatible to the hash functions provided by the
20- :mod: `hashlib ` standard library module. Binary wheels are provied for
20+ :mod: `hashlib ` standard library module. Binary wheels are provided for
2121all supported Python releases on the most common platforms. More
2222platforms can be added to the build job as needed.
2323
@@ -62,7 +62,7 @@ respectively. These functions take two optional parameters:
6262 bytes-like object. It can be passed only as positional argument.
6363
6464* **key ** -- key for keyed hashing, which must be a bytes-like
65- object. The passed key can be up to 16 bytes in lenght . Shorter keys
65+ object. The passed key can be up to 16 bytes in length . Shorter keys
6666 are zero padded to 16 bytes. It can be passed only as a keyword
6767 argument.
6868
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ cdef class siphash{{variant}}:
9494 return hexlify(hash)
9595
9696 def intdigest(self):
97- """Return the digest calue as a signed 64bit integer."""
97+ """Return the digest value as a signed 64bit integer."""
9898 cdef CSipHash state
9999 memcpy(&state, &self.state, sizeof(state))
100100 cdef uint64_t hash = c_siphash_finalize_{{variant}}(&state)
You can’t perform that action at this time.
0 commit comments