ActualResearch homepage English French Deutsch
PricesProductsNewsForumsContact
Overview
Online spyware scan
Articles
Spyware definitions
List of known spyware
Malware filenames
Malware BHOs list
Malware autorun entries
Download
Order now!
Overview
Download
Order now!
Overview
Screenshots
Live demo
Download
Order now!
Get Colouring!
CHTTPRequest DLL
Triple DES DLL

Triple DES encryption - is small Windows library (11.0 Kb file size) allows you to easy encrypt/decrypt files and memory buffers.

Key features

  • Encrypt/Decrypt files with password
  • Encrypt/Decrypt memory buffers with password
  • Multithreaded DLL

Download

Download Triple DES encryption Windows library: tripledes.zip (8.10 Kb)

Example of usage

//------------------------------------------------------- #include "tripledes.h" //------------------------------------------------------- PFILEENCRYPT FileEncrypt; PFILEDECRYPT FileDecrypt; PENCRYPTBUFFER EncryptBuffer; PDECRYPTBUFFER DecryptBuffer; PFREEBUFFER FreeBuffer; HANDLE hLib = ::LoadLibrary("tripledes.dll"); if(!hLib) return; FileEncrypt = (PFILEENCRYPT) ::GetProcAddress(hLib,"FileEncrypt"); FileDecrypt = (PFILEDECRYPT) ::GetProcAddress(hLib,"FileDecrypt"); EncryptBuffer = (PENCRYPTBUFFER) ::GetProcAddress(hLib,"EncryptBuffer"); DecryptBuffer = (PDECRYPTBUFFER) ::GetProcAddress(hLib,"DecryptBuffer"); FreeBuffer = (PFREEBUFFER) ::GetProcAddress(hLib,"FreeBuffer"); if(!FileEncrypt || !FileDecrypt || !EncryptBuffer || !DecryptBuffer || !FreeBuffer) { ::FreeLibrary(hLib); return; } // deal with files FileEncrypt("C:\\test.txt","123456"); FileDecrypt("C:\\test.txt","123456"); //deal with buffers DWORD dwEncSize; BYTE* encripted = EncryptBuffer("Yep!",4,"123456",&dwEncSize); if(encripted) { BYTE* decripted = DecryptBuffer(encripted,dwEncSize,"123456"); if(decripted) { ::MessageBox(NULL,(char*)decripted,NULL,MB_OK); FreeBuffer(decripted); } // if(decripted) FreeBuffer(encripted); } // if(encripted) ::FreeLibrary(hLib); //-------------------------------------------------------

Download

Download Triple DES encryption Windows library: tripledes.zip (8.10 Kb)


PricesProductsNews & EventsContact info Privacy Policy    ©2001-2008, ActualResearch.com.