-Sha1 implementation for when OpenSSL is not available

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/main@10891 ddefafc4-47db-0310-ae44-fa13212b10f2