Codeunit 1266 Cryptography Management

System Application, System.Security.Encryption

Source AL, 415 lines

src/System Application/App/Cryptography Management/src/CryptographyManagement.Codeunit.allines 14 to 29 of 415, Copyright (c) Microsoft Corporation. MIT

codeunit 1266 "Cryptography Management"{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        CryptographyManagementImpl: Codeunit "Cryptography Management Impl.";    /// <summary>    /// Returns plain text as an encrypted value.    /// </summary>    /// <param name="InputString">The value to encrypt.</param>    /// <returns>Encrypted value.</returns>    [NonDebuggable]    procedure EncryptText(InputString: Text[215]): Text

All 415 lines

Events 2 in 29

[IntegrationEvent] OnBeforeEnableEncryptionOnPrem()17-29
[IntegrationEvent] OnBeforeDisableEncryptionOnPrem()17-29

Public procedures 32 in 29

Decrypt(EncryptedString: Text): Text17-29
IsEncryptionEnabled(): Boolean17-29
IsEncryptionPossible(): Boolean17-29
GetEncryptionIsNotActivatedQst(): Text17-29
EnableEncryption(Silent: Boolean)17-29
DisableEncryption(Silent: Boolean)17-29

All 47 procedures in 17-29

Changes 9 in 28

List17181920212223242526272829
Procedures1852813169
GenerateHash(InputString: SecretText; HashAlgorithmType: Option MD5,SHA1,SHA256,SHA384,SHA512): SecretTextnew in 28
added
GenerateHash(InputString: SecretText; Key: SecretText; HashAlgorithmType: Option HMACMD5,HMACSHA1,HMACSHA256,HMACSHA384,HMACSHA512): SecretTextnew in 28
added
GenerateHashAsBase64String(InputString: SecretText; HashAlgorithmType: Option MD5,SHA1,SHA256,SHA384,SHA512): SecretTextnew in 28
added
GenerateHashAsBase64String(InputString: SecretText; Key: SecretText; HashAlgorithmType: Option HMACMD5,HMACSHA1,HMACSHA256,HMACSHA384,HMACSHA512): SecretTextnew in 28
added
GenerateBase64KeyedHashAsBase64String(InputString: SecretText; Key: SecretText; HashAlgorithmType: Option HMACMD5,HMACSHA1,HMACSHA256,HMACSHA384,HMACSHA512): SecretTextnew in 28
added
GenerateBase64KeyedHash(InputString: SecretText; Key: SecretText; HashAlgorithmType: Option HMACMD5,HMACSHA1,HMACSHA256,HMACSHA384,HMACSHA512): SecretTextnew in 28
added

All 53 changes in 17-29