Closed lemenkov closed 7 years ago
Use crypto:hash/2 function instead of ones from p1_sha.
This function exists since commit erlang/otp@208f9ad3828313f6c659a501d53f5534ec1bdf2e and also implemented as NIF, so I believe it's safe to use it.
See also this PR:
Signed-off-by: Peter Lemenkov lemenkov@gmail.com
That's brutal, dude :smile: Can't we just use -deprecated instruction like we did for jlib?
-deprecated
@zinid done.
Use crypto:hash/2 function instead of ones from p1_sha.
This function exists since commit erlang/otp@208f9ad3828313f6c659a501d53f5534ec1bdf2e and also implemented as NIF, so I believe it's safe to use it.
See also this PR:
Signed-off-by: Peter Lemenkov lemenkov@gmail.com