encrypt(options) {
    if (this.version === '3.4') {
      return this._encrypt34(options);
    }

    if (this.version === '3.5') {
      return this._encrypt35(options);
    }

    return this._encryptPre34(options);
  }
Encrypts data.
@param {Object} options Options for encryption
@param {String} options.data data to encrypt
@param {Boolean} [options.base64=true] `true` to return result in Base64
@example
TuyaCipher.encrypt({data: 'hello world'})
@returns {Buffer|String} returns Buffer unless options.base64 is true