This reminds me of an anecdote about Richard Feynman when he was working on the Manhattan project.
it goes something like:
To relieve his boredom and assuage his curiosity, Feynman taught himself to pick locks, open safes, and so on. A lot of it was social engineering rather than pure 'safecracking' like, for example, using common dates or numbers/algorithms - e.g. some scientists used numbers based on 'e' for example.
So he'd go around Los Alamos picking locks, cracking safes and so on.
In response to this, a Colonel (I think it was) in charge banned Feynman from entering his offices - rather than fixing the safes to make them harder to crack.
This is exactly what the government is trying to do with their new legislation.