Note to reviewers, any suggestions on how to avoid inspecting the password to figure out the algorithm and salt? I need to switch between 'pbkdf2_sha256' and other algorithms (e.g. 'sha1') because there are different hashers in use between Common Unit Tests and Django runtime.

@nedbat I figured this question would be up your alley