Skip to main content
All docs
V24.2

StrongRandom.Nonce() Method

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

Namespace: DevExpress.Data.Utils.Security

Assembly: DevExpress.Data.v24.2.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