makeVerifier(username,
password,
bits)
Static Method
| source code
|
Create a verifier entry which can be stored in a VerifierDB.
- Parameters:
username (str) - The username for this verifier. Must be less than 256 characters
in length.
password (str) - The password for this verifier.
bits (int) - This values specifies which SRP group parameters to use. It must
be one of (1024, 1536, 2048, 3072, 4096, 6144, 8192). Larger
values are more secure but slower. 2048 is a good compromise
between safety and speed.
- Returns: tuple
- A tuple which may be stored in a VerifierDB.
|