Skip to main content
All docs
V25.1
  • StrongRandom.Nonce() Method

    Generates a unique, cryptographically secure 16-character hexadecimal string.

    Namespace: DevExpress.Data.Utils.Security

    Assembly: DevExpress.Data.v25.1.dll

    NuGet Package: DevExpress.Data

    Declaration

    public static string Nonce()

    Returns

    Type Description
    String

    A unique, cryptographically secure 16-character hexadecimal string.

    Remarks

    Use the StrongRandom.Nonce method to generate unique identifiers, tokens, or nonces (numbers used once) for authentication, encryption, and other security-related tasks.

    See Also