Hanging was the penalty for dozens of crimes, not just murder. Hanging was public and a slow hang unless you bribed the hangman.
Serious crimes would see you hanged, drawn and quartered -- dragged through the town, hanged almost to unconsciousness, emasculated and gutted (while conscious if the hangman did his job right), then beheaded and chopped into 4 bits. The head and parts usually went on prominent display like at the gates of the city.
Then there's the religious offences, which get ugly. Theft from the church would see you flayed alive (skinned). The skin was sometimes nailed to the church door. Apostasy (rejecting your required religion) might see you slow burned alive -- publicly of course. and so it goes on. Medieval Christians seem like a vengeful lot.
Forgot one: Boiling alive -- the penalty for coin counterfeiting.