kntlm.cpp File Reference
#include "kntlm.h"
#include <string.h>
#include <QtCore/QDate>
#include <QtCore/qendian.h>
#include <QtCore/QCryptographicHash>
#include <krandom.h>
#include <kdebug.h>
#include "des.h"
Go to the source code of this file.
|
Functions |
static void | addBuf (QByteArray &buf, KNTLM::SecBuf &secbuf, const QByteArray &data) |
static void | addString (QByteArray &buf, KNTLM::SecBuf &secbuf, const QString &str, bool unicode=false) |
static void | convertKey (unsigned char *key_56, void *ks) |
static QByteArray | createBlob (const QByteArray &targetinfo) |
static QByteArray | getBuf (const QByteArray &buf, const KNTLM::SecBuf &secbuf) |
static QString | getString (const QByteArray &buf, const KNTLM::SecBuf &secbuf, bool unicode) |
static QByteArray | hmacMD5 (const QByteArray &data, const QByteArray &key) |
static QByteArray | QString2UnicodeLE (const QString &target) |
static QString | UnicodeLE2QString (const QChar *data, uint len) |
Function Documentation
void convertKey |
( |
unsigned char * |
key_56, |
|
|
void * |
ks | |
|
) |
| | [static] |
QString UnicodeLE2QString |
( |
const QChar * |
data, |
|
|
uint |
len | |
|
) |
| | [static] |