mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 08:04:24 +08:00
fix nullability of scrypt params (#10942)
This commit is contained in:
@@ -113,14 +113,7 @@ shake_128 = _VarLenHash
|
||||
shake_256 = _VarLenHash
|
||||
|
||||
def scrypt(
|
||||
password: ReadableBuffer,
|
||||
*,
|
||||
salt: ReadableBuffer | None = None,
|
||||
n: int | None = None,
|
||||
r: int | None = None,
|
||||
p: int | None = None,
|
||||
maxmem: int = 0,
|
||||
dklen: int = 64,
|
||||
password: ReadableBuffer, *, salt: ReadableBuffer, n: int, r: int, p: int, maxmem: int = 0, dklen: int = 64
|
||||
) -> bytes: ...
|
||||
@final
|
||||
class _BlakeHash(_Hash):
|
||||
|
||||
Reference in New Issue
Block a user