PBKDF 2 support ?
jeromer opened this issue · comments
Jérôme Renard commented
Hi there,
How about adding PBKDF2 support ?
Erlpass could be some kind of an abstraction layer for different crypto algorithm ?
The API could be like (This will break with the current API):
Hash = erlpass:hash(pbkd2, "my voice is my password").
erlpass:match("hello, sir", Hash).
What do you think ?
Fred Hebert commented
I currently have no plan to do this and it might be tricky to handle dependencies well given the current dependency model of OTP. It might be more interesting to abstract out the internals of the lib and let people write 'hashing' behaviours that can be passed in, though.