|
Data Encryption
In using data encryption, a plaintext message can be encoded so it appears like random gibberish and is very
difficult to transform back to the original message, without a secret key. In this
document, the term message is used to refer to any piece of data. This message can consist of ASCII
text, a database file, or any data you want to store or transmit securely. Plaintext is used to refer to data that has not been encrypted, while ciphertext refers to data that has.
Once a message has been encrypted, it can be stored on nonsecure media or
transmitted on an nonsecure network, and still remain secret. Later, the message
can be decrypted into its original form. This process is shown in the following
illustration:
When a message is encrypted, an encryption key is used. This is analogous to the physical key that is used to lock a
padlock. To decrypt the message, the corresponding decryption key must be used. It is very important to properly restrict access to the
decryption key, because anyone who possesses it will be able to decrypt all messages
that were encrypted with the matching encryption key. Note that the encryption
and decryption keys are often the same key.
This may come as a surprise, but data encryption/decryption is pretty
straight-forward. The really difficult part is keeping the keys safe and transmitting
them securely to other users. This is discussed further in Exchanging Cryptographic Keys.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|