]> granicus.if.org Git - ejabberd/commit
Use crypto:hash/2 function
authorPeter Lemenkov <lemenkov@gmail.com>
Mon, 13 Feb 2017 15:35:57 +0000 (18:35 +0300)
committerPeter Lemenkov <lemenkov@gmail.com>
Mon, 13 Feb 2017 15:42:50 +0000 (18:42 +0300)
commite7733ce7d97376bf41d0c683ce3888838a7ea985
treeb5151424a014b0697a0f7663d54fc22e588faf09
parente1ba499bd65ce4b5f9d93b8e2a543d14dee73962
Use crypto:hash/2 function

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.

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
src/ejabberd_websocket.erl
src/mod_admin_extra.erl
src/mod_caps.erl
src/scram.erl