How would you go about detecting collision between rotated squares?

I have googled it with little success.