'Coding' Category
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 [...]
Simple XML based storage – Part III.
As I promised a long time ago I have to conclude the SimpleStorage description with this final triology post. In this post I will present two very powerfull and complex mechanics behind SimpleStorage: Filters Adapters Filters Filters are a very powerful addition to SimpleStorage, that let us “filter” data before that data is written to [...]