code: function encrypt(userKey, plainText) {
          var i
            , offset
            , ct = []
            , tmpBlockEncrypt;
  
          if (utils.isAnArray(userKey) &&
            utils.isAnArray(plainText)) {
  
            userKey = new Uint8Array(userKey);
            plainText = new Uint8Array(plainText);
          } else {
  
            throw 'Inputs must be an array';
          }
  
          userKey = makeKey(userKey);
  
          for (offset = 0; offset < plainText.length; offset += 16) {
  
            tmpBlockEncrypt = blockEncrypt(plainText, offset, userKey);
            for (i = 0; i < tmpBlockEncrypt.length; i += 1) {
  
              ct.push(tmpBlockEncrypt[i]);
            }
          }
  
          return ct;
        }
docs: /* eslint-enable no-shadow /* eslint-disable no-bitwise