Fix comment typos

This commit is contained in:
Carl Beekhuizen 2020-10-01 12:24:54 +02:00
parent 389b48f851
commit b3ab755216
No known key found for this signature in database
GPG Key ID: 8F29E54F49E7AAB5

View File

@ -33,8 +33,8 @@ def PBKDF2(*, password: bytes, salt: bytes, dklen: int, c: int, prf: str) -> byt
raise ValueError(f"String 'sha' is not in `prf`({prf})")
if 'sha256' in prf and c < 2**18:
'''
Verify the number of rounds of SHA256-PBKDF2. SHA512 bot checked as use in BIP39
does not require and therefore doesn't use safe parameters (c=2048).
Verify the number of rounds of SHA256-PBKDF2. SHA512 not checked as use in BIP39
does not require, and therefore doesn't use, safe parameters (c=2048).
Ref: https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki#from-mnemonic-to-seed
'''