Bruno,
Thank you very much for showing an example for someone who doesn't know JavaScript.
I created a test project and followed your instructions, and I believe I'm very close to a solution, but maybe I missed something because the result is always "[object Promise]" instead of an actual hash value.
Please see the attached project.HashTest.zip (6.6 KB)