Reverted old SHA-1 algorithm in use (newest one was generating invalid SHA-1 hashes)