|
// ------------------------------------------------------------------------------------------------------------------------------------------------------
// - -
// - File: cencryptdecrypt.cpp. -
// - -
// - Contents: Implementation of class CEncryptDecrypt and a few helper functions. -
// - -
// - Purpose: TEA, XTEA and XXTEA crypto methods. -
// - -
// - Remarks: No restrictions and free to use open source. -
// - -
// - Originator: Michael Mogensen, MM-IT Consult 2003, michael-mogensen-danmark@hotmail.com. -
// - -
// - Compiler: MS Visual C++ 9.0. -
// - -
// - Period: 07.12.08 - 00.00.00. -
// - -
// - Version: 1.00. 07.12.08. Initial version. -
// - 1.10. 18.12.08. Replaced MFC Array<T, T> with SLT vector<> to loosen MFC dependence. -
// - Added new Encrypt(...)/Decrypt(...) methods working with char*. -
// - -
// ------------------------------------------------------------------------------------------------------------------------------------------------------
#include "stdafx.h"
#include "CEncryptDecrypt.h"
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.