ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* hash for buffer contents
@ 2022-09-21 16:37 Pablo Rodriguez via ntg-context
  2022-09-21 22:26 ` Max Chernoff via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-09-21 16:37 UTC (permalink / raw)
  To: ConTeXt users; +Cc: Pablo Rodriguez

Dear list,

I have the following sample:

  \ctxlua{require("util-sha")}

  \starttext

  \startbuffer[abc]
  samples
  \stopbuffer

  \cldcontext{utilities.sha2.hash512("buffer-name")}
  \stoptext

Is there any way to get "utilities.sha2.hash512" with the contents of
the "abc" buffer?

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-22 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 16:37 hash for buffer contents Pablo Rodriguez via ntg-context
2022-09-21 22:26 ` Max Chernoff via ntg-context
2022-09-22 15:50   ` Pablo Rodriguez via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).