code: function blake2bUpdate(ctx, input) {
      for (var i = 0; i < input.length; i++) {
          if (ctx.c === 128) { // buffer full ?
              ctx.t += ctx.c; // add counters
              blake2bCompress(ctx, false); // compress (not last)
              ctx.c = 0; // counter to zero
          }
          ctx.b[ctx.c++] = input[i];
      }
  }
docs: Updates a BLAKE2b streaming hash Requires hash context and Uint8Array (byte array)