|
Subject: Re: [xsl] hashing text in XSLT? From: "Joel Kalvesmaki director@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 13 Oct 2026 22:41:00 -0000 |
A few years ago I implemented a hash algorithm for XPath/XSLT using XPath 2.0 features (i.e. it uses the string-to-codepoints() function). It also uses some large (prime) numbers, such as 2^50, so you would need to run it on a 64-bit machine.
On 9/10/26 03:49, Graydon graydon@xxxxxxxxx wrote:Hello!
Given an XSLT 3/XPath 3.1 processor (Saxon-J 12.9 in oXygen), is there a
practical way to hash strings?
I'd suppose there might be a Java function, but if so, I have no idea what it is, and some searching sugguests hashing isn't a core function thing.
Thanks!
-- Joel Kalvesmaki Director, Text Alignment Network http://textalign.net
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] hashing text in XSLT?, Michael Kay michaelk | Thread | Re: [xsl] hashing text in XSLT?, Dimitre Novatchev dn |
| Re: [xsl] hashing text in XSLT?, Michael Kay michaelk | Date | [xsl] Informal video call / XML, XQ, Liam R. E. Quin liam |
| Month |