use crypto if available

This commit is contained in:
Gani Georgiev
2023-08-22 22:00:09 +03:00
parent 2863763a27
commit 6ca1f5c431
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -419,7 +419,7 @@ export default class CommonHelper {
}
/**
* Generates random string (suitable for elements id and keys).
* Generates pseudo-random string (suitable for elements id and keys).
*
* @param {Number} [length] Results string length (default 10)
* @return {String}