Opened 8 years ago
#3451 enhancement new
twisted.web._auth.digest.DigestedCredentials duplicates digest calculation code between checkPassword and checkHash methods
|Reported by:||exarkun||Owned by:|
There's a lot of duplication between these two methods. It could be refactored into a third method and used by each of these. As a bonus, this would perhaps be code useful to a client library which also needs to construct an appropriate value for the response field.