Encrypted and izolated containers

I have two ideas inspired by KDE encrypted activities idea.

Idea one:
Allow to encrypt container, so passwords, history, cookies could be stored securely.

Idea two:
Allow to save and restore container from file (for example encrypted archive), so other people have no idea we hide something (some people may save container on usb disk).