separator character used to identify subsequent fields. The fields in
order are:
- 1. the decimal index number denoting which algorithm was used, also
+ 1. the decimal index number indicating which algorithm was used, also
mapped as convenience constants at the beginning of this module
2. the number of times (as an exponent of 2) which the algorithm was
4. the resulting password hash itself, base64-encoded using . and /
as the two non-alpha-numeric characters required to reach 64
- The defaults provided should be safe for everyday use, but for
- something more heavy-duty may be in order for admin users, such as:
+ The defaults provided should be safe for everyday use, but something
+ more heavy-duty may be in order for admin users, such as::
- create(password, algorithm=SHA256, rounds=12, salt_len=16)
+ create(password, algorithm=SHA256, rounds=12, salt_len=16)
"""
import hashlib