We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b62f300 commit a371d52Copy full SHA for a371d52
src/passwordlib/core/dumping.py
@@ -69,7 +69,7 @@ class Loaded(t.NamedTuple):
69
hashed: bytes
70
71
72
-def loads(dump: bytes, *, verify: bool = False) -> Loaded:
+def loads(dump: bytes, *, verify: bool = True) -> Loaded:
73
r"""
74
Loads all relevant information about the hashed password from a dump and returns it as a NamedTuple
75
@@ -80,7 +80,7 @@ class Loaded(NamedTuple):
80
81
82
:param dump: the bytes that store all information
83
- :param verify: verify
+ :param verify: verifies that the dump contains exactly one password. disable this if you want to save multiple password next to another
84
:return:
85
"""
86
stream = io.BytesIO(dump)
0 commit comments