Changes between Initial Version and Version 1 of Ticket #34661, comment 8


Ignore:
Timestamp:
Jun 17, 2023, 6:53:11 AM (18 months ago)
Author:
Fatih Erikli

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34661, comment 8

    initial v1  
    66
    77    def encode(self, password, salt, iterations=None):
    8         assert password is not None
    9         assert salt and '$' not in salt
    108        iterations = iterations or self.iterations
    119        hash = pbkdf2(password, salt, iterations, digest=self.digest)
Back to Top