A law wouldn't do anything to this.
Blackmail material is something damning, and often criminal.
So, you already did something criminal, is breaking the law going to stop you from trying to keep it covered up?
A strong self that doesn't give in to terrorists is a solution.
But, you will often pay more for it in the short run.
Hotels are changing the electronic locks back to key locks... because they are not hackable.
RE: A simple solution to the "ransomware" problem