Re: [NTG-context] SHA calculation

2022-08-28 Thread Hans van der Meer via ntg-context
> On 28 Aug 2022, at 19:07, Pablo Rodriguez via ntg-context > wrote: > > On 8/28/22 12:25, Hans van der Meer via ntg-context wrote: >> >> With \directlua{context(md5.hex([===[#1]===]))} I can calculate the MD5 >> checksum. >> I thought there was another call for the calculation of the SHA >>

Re: [NTG-context] SHA calculation

2022-08-28 Thread Pablo Rodriguez via ntg-context
On 8/28/22 12:41, Hans Hagen via ntg-context wrote: > On 8/28/2022 12:25 PM, Hans van der Meer via ntg-context wrote: >> [...] >> Where to look? > have a look at > > l-sha.lua Hans, I wonder whether https://github.com/Egor-Skriptunoff/pure_lua_SHA may be interesting for ConTeXt. I mean, it is op

Re: [NTG-context] SHA calculation

2022-08-28 Thread Pablo Rodriguez via ntg-context
On 8/28/22 12:25, Hans van der Meer via ntg-context wrote: > > With \directlua{context(md5.hex([===[#1]===]))} I can calculate the MD5 > checksum.  > I thought there was another call for the calculation of the SHA > checksum, but I could not find it in the documentation or on the context > garden. 

Re: [NTG-context] SHA calculation

2022-08-28 Thread Hans Hagen via ntg-context
On 8/28/2022 12:25 PM, Hans van der Meer via ntg-context wrote: With \directlua{context(md5.hex([===[#1]===]))} I can calculate the MD5 checksum. I thought there was another call for the calculation of the SHA checksum, but I could not find it in the documentation or on the context garden. Whe

[NTG-context] SHA calculation

2022-08-28 Thread Hans van der Meer via ntg-context
With \directlua{context(md5.hex([===[#1]===]))} I can calculate the MD5 checksum. I thought there was another call for the calculation of the SHA checksum, but I could not find it in the documentation or on the context garden. Where to look? dr. Hans van der Meer ___