Archive for November, 2009
How to correctly handle cryptography in ANSI and Unicode flavor
As you know, Delphi is now Unicode able, from Delphi 2009 and up. This had caused a lot of headaches to a lot of developers out there. Unicode is not easy, you need to understand how it works and know how to use it. It is maybe simpler for .NET developers because they had it [...]
XTEA (TEA) Delphi implementation available for download
I have updated the XTEA algorithm implementation and made it available for download. The algorithm works on array of bytes or on streams. You also have support functions that help you encrypt / decrypt strings. The interface is shown bellow. // XTEA encryption and decryption function function XTeaEncryptBytes(const Data, Key: TBytes): TBytes; function XTeaDecryptBytes(const Data, [...]
Tiny Encryption Algorithm (TEA).
I had fun this weekend. Some time passed since I coded (or better said modified) some low level code like this. I mean really low level, not Win32 API. And encryption in its true form is low level coding (and much more than just coding behind the screen). The initial problem that led to me [...]
Cromis IPC – Fast inter process communication (Named Pipes)
About half a year ago I had a mission to make a server that was able to handle multiple ISAPI modules and DLL modules over HTTP. I did not want to use Apache or IIS, for two reasons I must support clean, easy installations of the software, even on feeble laptops with easy maintenance over [...]
Windows 7 first impressions
A week ago my old XP died on me for the last time. And it was the longest installation period i had with XP. Almost two years of heavy duty work and countless installations. Before they never lasted more than a year of torture. Now after almost two years I got a BSOD. Instead of [...]