Skip to main content

Encrypting Strings

Encrypting Strings

The EncryptCStrings() and DecryptCStrings() functions are used to encrypt and decrypt c-style strings. Their usage is straightforward. The following example demonstrates data encryption and decryption using these two functions.


Code Samples

See the C environment settings for details on setting the project environment.


c_encryptcstrings.c

The complete source for this sample, together with its console output, is published in the SDK reference and is the maintained copy:

c_encryptcstrings.c