Skip to main content

core.getrandomstring

Home > @medplum/core > getRandomString

getRandomString() function

Returns a cryptographically secure random string.

Signature:

export declare function getRandomString(): string;

Returns:

string

A cryptographically secure random string.