Do not install sha1-el.el when built-in SHA1 library is available.
Use built-in functionalities to get hash in binary form if available.
Minor refactorings.
FLIM-ELS: Install sha1-el.el when dynamic-link is available and built-in sha1 library is not available.