KDECore
kcodecs.h
Go to the documentation of this file.
void update(const char *in, int len=-1)
Updates the message to be digested.
Definition kcodecs.cpp:767
void transform(const unsigned char buffer[64])
Performs the real update work.
Definition kcodecs.cpp:938
QByteArray hexDigest()
Returns the value of the calculated message digest in a hexadecimal representation.
Definition kcodecs.cpp:887
QByteArray base64Digest()
Returns the value of the calculated message digest in a base64-encoded representation.
Definition kcodecs.cpp:910
void reset()
Calling this function will reset the calculated message digest.
Definition kcodecs.cpp:922
bool verify(const KMD5::Digest &digest)
returns true if the calculated digest for the given message matches the given one.
Definition kcodecs.cpp:862
void output(QList< Action > actions, QHash< QString, QString > domain)
Definition fake/kauth-policy-gen-polkit.cpp:41
#define F
#define I
A wrapper class for the most commonly used encoding and decoding algorithms.
Definition kcodecs.cpp:62
QByteArray base64Decode(const QByteArray &in)
Decodes the given data that was encoded using the base64 algorithm.
Definition kcodecs.cpp:424
QString decodeRFC2047String(const QString &text)
Decodes string text according to RFC2047, i.e., the construct =?charset?
Definition kcodecs.cpp:693
QByteArray uuencode(const QByteArray &in)
Encodes the given data using the uuencode algorithm.
Definition kcodecs.cpp:512
QByteArray base64Encode(const QByteArray &in, bool insertLFs=false)
Encodes the given data using the base64 algorithm.
Definition kcodecs.cpp:345
QByteArray quotedPrintableDecode(const QByteArray &in)
Decodes a quoted-printable encoded data.
Definition kcodecs.cpp:279
QByteArray quotedPrintableEncode(const QByteArray &in, bool useCRLF=true)
Encodes the given data using the quoted-printable algorithm.
Definition kcodecs.cpp:156
QByteArray uudecode(const QByteArray &in)
Decodes the given data using the uudecode algorithm.
Definition kcodecs.cpp:598
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.