diff --git a/src/System Application/App/Cryptography Management/src/CryptographyManagement.Codeunit.al b/src/System Application/App/Cryptography Management/src/CryptographyManagement.Codeunit.al index a12688b3df..89669440d6 100644 --- a/src/System Application/App/Cryptography Management/src/CryptographyManagement.Codeunit.al +++ b/src/System Application/App/Cryptography Management/src/CryptographyManagement.Codeunit.al @@ -25,6 +25,7 @@ codeunit 1266 "Cryptography Management" /// /// The value to encrypt. /// Encrypted value. + [NonDebuggable] procedure EncryptText(InputString: Text[215]): Text begin exit(CryptographyManagementImpl.Encrypt(InputString)); @@ -35,6 +36,7 @@ codeunit 1266 "Cryptography Management" /// /// The value to decrypt. /// Plain text. + [NonDebuggable] procedure Decrypt(EncryptedString: Text): Text begin exit(CryptographyManagementImpl.Decrypt(EncryptedString)); diff --git a/src/System Application/App/Cryptography Management/src/CryptographyManagementImpl.Codeunit.al b/src/System Application/App/Cryptography Management/src/CryptographyManagementImpl.Codeunit.al index 3d02f78252..482a9b177e 100644 --- a/src/System Application/App/Cryptography Management/src/CryptographyManagementImpl.Codeunit.al +++ b/src/System Application/App/Cryptography Management/src/CryptographyManagementImpl.Codeunit.al @@ -31,6 +31,7 @@ codeunit 1279 "Cryptography Management Impl." EncryptionCheckFailErr: Label 'Encryption is either not enabled or the encryption key cannot be found.'; EncryptionIsNotActivatedQst: Label 'Data encryption is not activated. It is recommended that you encrypt data. \Do you want to open the Data Encryption Management window?'; + [NonDebuggable] procedure Encrypt(InputString: Text[215]): Text begin AssertEncryptionPossible(); @@ -39,6 +40,7 @@ codeunit 1279 "Cryptography Management Impl." exit(System.Encrypt(InputString)); end; + [NonDebuggable] procedure Decrypt(EncryptedString: Text): Text begin AssertEncryptionPossible();