C implementation of SHA-1 encryption algorithm