Remove deprecated function crypto:sha/1

crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2