In the UK, yes. Holding encrypted data against the wishes of the government, that is to say you are unwilling to decrypt it for them, is a crime. I believe up to two years in prison.
jeeeeesus
(Not disbelief or concern trolling, I'd like to find out more about this case.)