Zur Startseite von ActualResearch English Français Deutsch
Online-ShopProdukteNewsForumKontakt
Überblick
Online-Spyware-Scan
Artikel
Spyware-Datenbank
Liste: Spyware
Liste: Browser-Hilfsobjekte
Liste: AutoRun-Einträge
Download
Online-Shop
Überblick
Bilder
Live-Demo
Download
Online-Shop
Überblick
Bilder
Onlinehilfe
Download
Online-Shop
Get Colouring!
CHTTPRequest DLL
3-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)


ShopProdukteNews & EventsKontaktDatenschutzrichtlinie    ©2001-2008, ActualResearch.com