File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,11 @@ export function secureRandomString(len: number): string {
53
53
}
54
54
55
55
/**
56
- * Generate a cryptographically secure random string using characters given
57
- * @param len The length of the string to generate (must be positive and less than 32768)
58
- * @param chars The characters to use in the random string (between 2 and 256 characters long).
59
- * @returns Random string of characters of length `len`
56
+ * Generate a cryptographically secure random string using characters given.
57
+ *
58
+ * @param len - The length of the string to generate (must be positive and less than 32768).
59
+ * @param chars - The characters to use in the random string (between 2 and 256 characters long).
60
+ * @returns Random string of characters of length `len`.
60
61
*/
61
62
export function secureRandomStringFrom ( len : number , chars : string ) : string {
62
63
// This is intended for latin strings so 256 possibilities should be more than enough and
You can’t perform that action at this time.
0 commit comments