Code base

Decrypt cipher now reads encrypted contents; checks whether anything has
been encrypted before.