Skip to content

Documentation / @ripl/utilities / stringUniqueId

Function: stringUniqueId()

stringUniqueId(length?): string

Defined in: packages/utilities/src/string.ts:2

Generates a cryptographically random hexadecimal string of the specified length.

Parameters

ParameterTypeDefault value
lengthnumber6

Returns

string