Anectdotal I know, but I have used my own Streamlight Scorpion to dissuade aggressive dogs when on my evening walks in the winter time. Unfortunately it stays light forever here in the summer so I must resort to more lethal defenses when walking in the warmer months
The dogs just stop in their tracks and back off. Seems they don't like attacking that which they don't see