Skip to content

Commit a371d52

Browse files
committed
updated core.dumping.loads()
1 parent b62f300 commit a371d52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/passwordlib/core/dumping.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class Loaded(t.NamedTuple):
6969
hashed: bytes
7070

7171

72-
def loads(dump: bytes, *, verify: bool = False) -> Loaded:
72+
def loads(dump: bytes, *, verify: bool = True) -> Loaded:
7373
r"""
7474
Loads all relevant information about the hashed password from a dump and returns it as a NamedTuple
7575
@@ -80,7 +80,7 @@ class Loaded(NamedTuple):
8080
hashed: bytes
8181
8282
:param dump: the bytes that store all information
83-
:param verify: verify
83+
:param verify: verifies that the dump contains exactly one password. disable this if you want to save multiple password next to another
8484
:return:
8585
"""
8686
stream = io.BytesIO(dump)

0 commit comments

Comments
 (0)