The whole story is highly unusual and will no doubt be made into a good book/film in the future.
It is difficult to know whats happended here, but as someone who works with sensitive material, governments are technically within thier rights to come down hard on people who make public information of a senstive nature because it threatens the safety of individuals and property, no matter how morally wrong the content may be.
The timing of the Swedish case appears very suspect.
He is a bit weird though. And Australian. And good at maths. He apparently invented a complex maths puzzle which he was very good at. Never trust someone who invents their own maths puzzle and is then very good at it.