[TASK] Add possibility to create random values in JavaScript
New `SecurityUtility. getRandomHexValue(20)` returns 20 hexadecimal characters provided by the Web Crypto API. see https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API Resolves: #91809 Releases: master, 10.4 Change-Id: Iaee1c7641b34e1316fccd069808c519d1c3ba2ab Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65046 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/core/Resources/Public/TypeScript/SecurityUtility.ts 12 additions, 0 deletions...cript/core/Resources/Public/TypeScript/SecurityUtility.ts
- Build/Sources/TypeScript/core/Tests/SecurityUtilityTest.ts 39 additions, 0 deletionsBuild/Sources/TypeScript/core/Tests/SecurityUtilityTest.ts
- typo3/sysext/core/Resources/Public/JavaScript/SecurityUtility.js 1 addition, 1 deletion...ysext/core/Resources/Public/JavaScript/SecurityUtility.js
- typo3/sysext/core/Tests/JavaScript/SecurityUtilityTest.js 13 additions, 0 deletionstypo3/sysext/core/Tests/JavaScript/SecurityUtilityTest.js
Please register or sign in to comment