Codeunit 1378 Rfc2898DeriveBytes

System Application, System.Security.Encryption

Source AL, 32 lines

src/System Application/App/Cryptography Management/src/Rfc2898DeriveBytes.Codeunit.allines 11 to 26 of 32, Copyright (c) Microsoft Corporation. MIT

codeunit 1378 Rfc2898DeriveBytes{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    /// <summary>    /// Generates a base64 encoded hash from a string based on the provided hash algorithm.    /// </summary>    /// <param name="InputString">Represents the input to be hashed</param>    /// <param name="Salt">The salt used to derive the key</param>    /// <param name="NoOfBytes">The number of pseudo-random key bytes to generate</param>    /// <param name="HashAlgorithmType">Represents the HashAlgorithmType, which returns the encrypted hash in the desired algorithm type</param>    /// <returns>Hash of input</returns>    /// <error>If generating the hash fails, it throws a dotnet error.</error>    procedure HashRfc2898DeriveBytes(InputString: Text; Salt: Text; NoOfBytes: Integer; HashAlgorithmType: Option MD5,SHA1,SHA256,SHA384,SHA512): Text

All 32 lines

Public procedures 1 in 29

HashRfc2898DeriveBytes(InputString: Text; Salt: Text; NoOfBytes: Integer; HashAlgorithmType: Option MD5,SHA1,SHA256,SHA384,SHA512): Text17-29