Skip to content
Snippets Groups Projects
  • Andreas Gohr's avatar
    3a0a2d05
    refactored passowrd hashing functions to a class · 3a0a2d05
    Andreas Gohr authored
    this splits the long auth_cryptPassword() function into many member
    functions of a new class PassHash which should make it more
    maintainable and reusable for other projects.
    
    This also adds two new methods djangomd5 and djangosha1 as used by the
    popular python framework Django.
    
    Maybe the auth_cryptPassword() and auth_verifyPassword() functions
    should be deprecated in favor of using the class directly?
    3a0a2d05
    History
    refactored passowrd hashing functions to a class
    Andreas Gohr authored
    this splits the long auth_cryptPassword() function into many member
    functions of a new class PassHash which should make it more
    maintainable and reusable for other projects.
    
    This also adds two new methods djangomd5 and djangosha1 as used by the
    popular python framework Django.
    
    Maybe the auth_cryptPassword() and auth_verifyPassword() functions
    should be deprecated in favor of using the class directly?
Code owners
Assign users and groups as approvers for specific file changes. Learn more.