Add crypto:pbkdf2_hmac/5 BIF to the crypto module
Fri Nov 26 19:27:40 CET 2021
Just saying, I already implemented NIFs for this a long time ago, obviously outperforming Basho’s lib by dozens of times, but also even outperforming OpenSSL’s implementation. https://github.com/esl/fast_pbkdf2/ <https://github.com/esl/fast_pbkdf2/> Just some free self-promotion there I guess, but there’s benefit to have it on OTP itself I suppose.
> On 18 Nov 2021, at 16:58, Bryan Frimin <bryan@REDACTED> wrote:
> Hello everyone,
> I propose to add the pbkdf2_hmac/2 function to the crypto module.
> PBKD2 with HMAC is used by a lot of applications and libraries in
> Erlang, currently, most of it uses the basho one or a fork of the basho
> As Erlang already binds OpenSSL and because this function is available
> even on the OpenSSL 0.9.8c, I think it can be a great UX improvement to
> have it from the OTP instead of an external library.
> It's why I suggest enriching the crypto module with this function. I've
> already opened a pull request.
> I tried as much as possible to follow the contribution guide. Don't
> hesitate to tell me if I made a mistake somewhere.
>  https://github.com/erlang/otp/pull/5421
> Bryan Frimin
upcoming conferences: *
Code Beam America (virtual):
<https://www2.codesync.global/code-beam-sf-2021/es> 3-5 November
Erlang Solutions cares about your data and privacy;
please find all
details about the basis for communicating with you and the way we
<https://www.erlang-solutions.com/privacy-policy.html>. You can
email preferences or opt-out from receiving Marketing emails here
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions