Enum 1445 Hash Algorithm in 27

App
System Application
Namespace
System.Security.Encryption

Values, 5

Versions171819202122232425262728latest

Source242526272829

Source in 27

src/System Application/App/Cryptography Management/src/HashAlgorithm.Enum.al49 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------

namespace System.Security.Encryption;

/// <summary>
/// Specifies the types of hash algorithm.
/// </summary>
enum 1445 "Hash Algorithm"
{
    Extensible = true;

    /// <summary>
    /// Specifies the MD5 hash algorithm
    /// </summary>
    value(0; MD5)
    {
    }

    /// <summary>
    /// Specifies the SHA1 hash algorithm
    /// </summary>
    value(1; SHA1)
    {
    }

    /// <summary>
    /// Specifies the SHA256 hash algorithm
    /// </summary>
    value(2; SHA256)
    {
    }

    /// <summary>
    /// Specifies the SHA384 hash algorithm
    /// </summary>
    value(3; SHA384)
    {
    }

    /// <summary>
    /// Specifies the SHA512 hash algorithm
    /// </summary>
    value(4; SHA512)
    {
    }
}

Values, 5

IdNameObsolete
0MD5-
1SHA1-
2SHA256-
3SHA384-
4SHA512-