On 10/11/2020 16:51, Martin Honnen martin(_dot_)honnen(_at_)gmx(_dot_)de 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
john(_at_)saxonica(_dot_)com <mailto:john(_at_)saxonica(_dot_)com>
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/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--