Cryptography Overview

The functions that support cryptography in Microsoft Dynamics NAV provide services that enable developers to add security for encrypting and decrypting data and key management. Each Microsoft Dynamics NAV tenant supports a single encryption key which is used for encrypting and decrypting data stored in the database. Additional functions are provided to assist building robust solutions when working with encryption and for managing the encryption keys.

Flow between plain text and encrypted text

Encryption Keys

To encrypt and decrypt text, we use an encryption key. Microsoft Dynamics NAV stores the key in a secure location and accesses it at runtime when needed. Additional functionality is provided to export and import keys, which is important when moving solutions from one location to another. For more information, see Encryption Key Management and Encryption Functions.

See Also

Concepts

Encryption Key Management
Programming in C/AL

Other Resources

How to: Export and Import Encryption Keys
How to: Enable and Disable Encryption Keys
Manage Data Encryption