Re: Random UUID in pure XSLT?
| Newsgroups | gmane.text.xml.xsl.general.mulberrytech |
|---|---|
| Message-ID | <[email protected]> |
On 10/11/2020 16:51, Martin Honnen [email protected] wrote: > HE 10 with higher-order function support (which is not available in HE > 9.8 and 9.9) has at least support for fn:random-number-generator, Saxon > JS 2 also supports that function. SaxonJS2 does support fn:random-number-generator, based on JavaScript Math.random() in successive calls. MDN strongly suggests that this will not provide cryptographically secure random numbers, nor indeed for anything related to security. There is no support for seeding the sequence provided. -- *John Lumley* MA PhD CEng FIEE [email protected] <mailto:[email protected]> on behalf of Saxonica Ltd --~---------------------------------------------------------------- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386 or by email: [email protected] --~--