Logo Search packages:      
Sourcecode: kmess version File versions  Download package

const QString MSNChallengeHandler::hexSwap ( const QString &  in  )  [private]

Swaps the bytes in a hex string.

Definition at line 177 of file msnchallengehandler.cpp.

Referenced by computeHash().

{
  QString swapped;
  QString sHex( in );

  while(sHex.length() > 0)
  {
    swapped = swapped + sHex.mid( sHex.length() - 2, 2 );
    sHex    = sHex.remove( sHex.length() - 2, 2 );
  }
  return swapped;
}


Generated by  Doxygen 1.6.0   Back to index