Re: Why not switch hasher when number of iterations changes?

2013-03-18 Thread Ram Rachum
Wonderful, thank you! On Mon, Mar 18, 2013 at 10:59 PM, Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote: > On 18 mars 2013, at 21:51, Ram Rachum wrote: > > > Why does Django switch to the new hasher only if the algorithm was > changed, and not if the number of iterations (which cou

Re: Why not switch hasher when number of iterations changes?

2013-03-18 Thread Aymeric Augustin
On 18 mars 2013, at 21:51, Ram Rachum wrote: > Why does Django switch to the new hasher only if the algorithm was changed, > and not if the number of iterations (which could be critical) changed? See https://code.djangoproject.com/ticket/19043. -- Aymeric. -- You received this message bec

Why not switch hasher when number of iterations changes?

2013-03-18 Thread Ram Rachum
Look at this code: https://github.com/django/django/blob/master/django/contrib/auth/hashers.py#L55 Why does Django switch to the new hasher only if the algorithm was changed, and not if the number of iterations (which could be critical) changed? Thanks, Ram. -- You received this message beca