Encrypted tar archives

Got this from http://www.linuxquestions.org/questions/linux-newbie-8/howto-encrypt-a-t...

Create the encrypted archive
$ tar -cj special-dir |
openssl enc -aes128 -salt -out special-dir.tar.bz2.enc -e -a -k 'foo%my%pass'

Unencrypte the archive
$ openssl enc -aes128 -in special-dir.tar.bz2.enc -out special-dir.tar.bz2 -d -a

Restore the archive
$ tar xjf special-dir.tar.bz2