half-way implemented encryption of messages/snapshots using AES.