funcool / buddy-hashers

Collection of password hashers.
https://funcool.github.io/buddy-hashers/latest/
Apache License 2.0
75 stars 16 forks source link

Fake algorithm for testing? #19

Closed darkleaf closed 6 years ago

darkleaf commented 6 years ago

How can I use fake fast algorithm for testing? Default bcrypt are too slow.

darkleaf commented 6 years ago

It's application problem, not this library.

niwinz commented 6 years ago

You can overwrite the internal multimethods of buddy-hashers on your tests and just use faster algorithm.