code: function(data) {
        if (!data) {
          data = this.getContent();
        }
        return this.encoder.encryptAes(JSON.stringify(data), this.getSecret());
      }
docs: Encrypt data or content
  
  @param {Object} [data] The data to encrypt or content if missing
  @return {String} The encrypted result in Base64 format