Changes between Initial Version and Version 1 of Ticket #31358, comment 20
- Timestamp:
- Mar 15, 2020, 3:58:22 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31358, comment 20
initial v1 15 15 16 16 Sounds reasonable, but what does the decode function look like? It it a stub in the `BasePasswordHasher` which requires that derived classes implement it with an implementation for each of the included hashers? Let me know if that sounds good and I can make a second PR to implement that tomorrow. Else lets keep this conversation going :) 17 18 Edit: 19 For clarity my mind's eye see's the decode function as 20 `def decode(self) -> Dict[str, str]` 21 Where the key is in the set `{"algo", "salt", "hash"}` and the values are the string encoded versions (base64 for salt and hash?).