|
|
|
Roll over the icons to see a description. Click on the image to download
the source code.
bmpRot
A unit for rotating TBitmaps 90, 180, or 270 degrees. Works in D1, D2, D3,
and D4. Not entirely optimized, but quick enough. It rotates a 1600x1200
image in 800 msec on my Pentium II (400 MHz).
PanZoom
New and improved!
Updated to fix a few display bugs that no one will probably notice, I
present my TPanZoomPanel. This is a descendent of TPanel that can display
an image, pan, zoom, and paint on it. You can define a coordinate system
at any time, and the panel will perform the necessary affine
transformations to correctly scale the coordinates, through all the
panning and zooming you want. You can even paint while zoomed in!
MessageDigests
A collection of classes for creating message digests, including MD2, MD4,
MD5, SHA-1, and RIPEMD-160. Also includes a class for making secure hashes
(HMACs) out of these digests. The hierarchy works out real neat, so they
all have a common interface, and a cute little virtual constructor
mechanism for creating the HMAC class.
BlockCiphers
A block cipher class hierarchy. Currently includes TDESCipher and
TBlowfishCipher, with more to come soon. The ciphers all descend from
TBlockCipher, whose constructor is virtual, allowing for polymorphic
instantiation of any cipher you choose. The DES implementation has been
heavily optimized with a lot of help from Bob Lee. It encrypts 4.2
megs/sec on my Pentium II. Blowfish has been similarly optimized,
encrypting 6.5 megs/sec.
EncryptedRegistry
Contains a TEncryptedRegistry class. This class has the same interface as
TRegistry, but it encrypts/decrypts data being written/read. This requires
the BlockCiphers unit.
RegistryNotification
Contains a TRegistryNotifier class. This class creates a thread that waits
for a change in a registry key, and terminates when the event happens.
|
|
|