guid2 Last updated: 04. Mar 2025

Create a random guid in base64 RFC7515 format.

Parameters

This function takes no parameters

Returns

A random guid id as string.

Example

Code example (#JS)

#JS is mixed HTML (or other text file) with inline JavaScript with # starting and ending each inline statement.
#docly.guid2()#

Output

The #JS code above produces the output shown below:
gIAVWM97r0mEkodh9NRetA