Changes between Initial Version and Version 1 of Ticket #31358, comment 20


Ignore:
Timestamp:
Mar 15, 2020, 3:58:22 PM (5 years ago)
Author:
Jon Moroney

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31358, comment 20

    initial v1  
    1515
    1616Sounds 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
     18Edit:
     19For clarity my mind's eye see's the decode function as
     20`def decode(self) -> Dict[str, str]`
     21Where the key is in the set `{"algo", "salt", "hash"}` and the values are the string encoded versions (base64 for salt and hash?).
Back to Top