PoDoFo 0.9.20
PoDoFo::PdfRC4Stream Class Reference

Public Member Functions

size_t Encrypt (char *buffer, size_t len)
 

Detailed Description

A class that can encrypt/decrpyt streamed data block wise This is used in the input and output stream encryption implementation. Only the RC4 encryption algorithm is supported

Member Function Documentation

◆ Encrypt()

size_t PoDoFo::PdfRC4Stream::Encrypt ( char * buffer,
size_t len )
inline

Encrypt or decrypt a block

Parameters
bufferthe input/output buffer. Data is read from this buffer and also stored here
lenthe size of the buffer