Products » dgEncrypt User Guide
Object: dgEncrypt
dgEncrypt is an implementation of the Rijndael block cipher, which has recently been selected by the
National Institute of Standards and Technology (
NIST) as the new
Advanced Encryption Standard (
AES) for the
U.S. government. The Rijndael cipher is a symmetric key block cipher, which is a type of cipher that encrypts
data in blocks, rather than a single bit at a time, and uses the same key for both encryption and decryption.
For its enciphering functions, dgEncrypt employs a version of Rijndael that operates on 128-bit input blocks,
with keys that are 128, 192, or 256 bits in length. A second version of the Rijndael cipher, which operates
on 256-bit input blocks with 256-bit internally generated keys, is used to generate cryptographically viable
random values, such as cipher keys.
The dgEncrypt component contains the
Cipher and
Key objects.
Cipher
The
Cipher object contains dgEncrypt's implementation of the Rijndael block cipher, and is capable of encrypting
and decrypting both strings and files.
Key
The
Key object represents a symmetric key, and provides the methods necessary to generate key values, write them to
either a file or a registry entry, and subsequently retrieve them.