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

pdfencrypt.cpp File Reference


Detailed Description

Implementation of the wxPdfEncrypt class.

Definition in file pdfencrypt.cpp.

#include <wx/wxprec.h>
#include <wx/wx.h>
#include <wx/log.h>
#include "wx/pdfdoc.h"
#include "wx/pdfencrypt.h"
#include <sys/types.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Classes

struct  MD5Context
 Structure representing an MD5 context while ecrypting. (For internal use only). More...

Defines

#define byteReverse(buf, len)
#define F1(x, y, z)   (z ^ (x & (y ^ z)))
#define F2(x, y, z)   F1(z, x, y)
#define F3(x, y, z)   (x ^ y ^ z)
#define F4(x, y, z)   (y ^ (x | ~z))
#define MD5_HASHBYTES   16
#define MD5STEP(f, w, x, y, z, data, s)   ( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )

Typedefs

typedef struct MD5Context MD5_CTX
 Structure representing an MD5 context while ecrypting. (For internal use only).

Functions

static void MD5Final (unsigned char digest[16], MD5_CTX *ctx)
static void MD5Final (unsigned char digest[MD5_HASHBYTES], MD5_CTX *context)
static void MD5Init (MD5_CTX *context)
static void MD5Transform (unsigned int buf[4], unsigned int const in[16])
static void MD5Update (MD5_CTX *context, unsigned char const *buf, unsigned len)

Variables

static unsigned char padding []


Generated by  Doxygen 1.6.0   Back to index