Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomBytes ¶
***************************************************************************************
* * Function : GenerateRandomBytes * * Purpose : Generate Random Bytes for reference purpose * * Input : n int - specify size of the buffer * * Return : []]byte - securely generated random bytes * error - if happened, nil otherwise
func GenerateRandomString ¶
***************************************************************************************
* * Function : GenerateRandomString * * Purpose : Generate Random String for reference purpose * * Input : n int - size of the returning string * * Return : string - securely generated random string * error - if happened, nil otherwise
func GenerateRandomStringURLSafe ¶
***************************************************************************************
* * Function : GenerateRandomStringURLSafe * * Purpose : Generate URL-safe, base64 encoded random string * * Input : n int - size of the returning string * * Return : string - securely generated random bytes * error - if happened, nil otherwise
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.