(password, salt, iterations)
| 243 | |
| 244 | |
| 245 | def create_auth_verifier(password, salt, iterations): # type: (str, bytes, int) -> bytes |
| 246 | |
| 247 | derived_key = crypto.derive_key_v1(password, salt, iterations) |
| 248 | enc_iter = int.to_bytes(iterations, length=3, byteorder='big', signed=False) |
| 249 | return b'\x01' + enc_iter + salt + derived_key |
| 250 | |
| 251 | |
| 252 | def is_url(test_str): # type: (str) -> bool |
nothing calls this directly
no outgoing calls
no test coverage detected