Add secure_compare/2 BIF on the crypto module
Tue Apr 20 14:13:19 CEST 2021
I propose to add `secure_compare/2` function on the `crypto` module.
Constant time memory comparison is a common mechanism for
applications/libraries dealing with crypto logic. It is easy to code
this function in Erlang, but the OpenSSL one is safe and fast.
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.
More information about the erlang-questions