Add decrypt command line option

Hi Huw,

I added a command line argument encrypt/decrypt. What do you think?

Dan