Hi Pablo, > Is there any way to get "utilities.sha2.hash512" with the contents of > the "abc" buffer?
You can use "buffers.getcontent" or "buffers.raw": \startbuffer[test] One Two Three \stopbuffer[test] \starttext \startluacode require("util-sha") local content = buffers.getcontent("test") -- local content = buffers.raw("test") -- same result local sha512 = utilities.sha2.hash512(content) context(sha512) \stopluacode \stoptext Depending on what you're trying to do, the "filter" module may be helpful here. -- Max ___________________________________________________________________________________ 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 ___________________________________________________________________________________