I've rar'd quite a few files in my day, many with a password. The majority of them I could not remember if asked. We effectively have made forgetting a crime in the name of protecting children and stopping terrorism.
And it won't do either, merely encourage the use of other routes to planning such activities. It's not difficult to imagine a terrorist plan that has no dependence on electronic messaging. Talk about selling your birthright for a mess of potage.