getUniqueId
The getUniqueId function generates a unique ID string of the requested length.
getUniqueId(length?: number): string| Type | Description | |
|---|---|---|
length? | number | The number of characters in the ID. |
| returns | string | A random unique ID string. |
This function creates cryptographically random identifiers suitable for use as Synclet addresses or other unique identifiers. The generated IDs are URL-safe and contain characters from the set [A-Za-z0-9_-].
Since
v0.0.0