Simple session support.
Base support for encryption key