📝Random
The module provides a set of functions to generate random values.
Imports
Method of Use
To use this module, you need to inject it into the desired service.
Injecting the module into our service.
With dependencies
You will need to inject the following interfaces.
Interface
Service
IStringExService
Methods
Method
Scope
Description
int
public
Returns a random integer between min and max.
hash
public
Returns a random string format of HASH.
uuid
public
Returns a random string format of UUID.
password
public
Returns a random password.
string
public
Returns a random string of characters.
Last updated