code: function debugPrint(label, arr, size) {
      var msg = '\n' + label + ' = ';
      for (var i = 0; i < arr.length; i += 2) {
          if (size === 32) {
              msg += uint32ToHex(arr[i]).toUpperCase();
              msg += ' ';
              msg += uint32ToHex(arr[i + 1]).toUpperCase();
          }
          else if (size === 64) {
              msg += uint32ToHex(arr[i + 1]).toUpperCase();
              msg += uint32ToHex(arr[i]).toUpperCase();
          }
          else
              throw new Error('Invalid size ' + size);
          if (i % 6 === 4) {
              msg += '\n' + new Array(label.length + 4).join(' ');
          }
          else if (i < arr.length - 2) {
              msg += ' ';
          }
      }
  }
docs: For debugging: prints out hash state in the same format as the RFC sample computation exactly, so that you can diff