hash

host module

Digests with hex output — sha256 / sha512 / md5, for strings and files.

use hash — digests (hex output). MD5 is legacy-interop only.

functionsignature
sha256 / sha512 / md5(string) -> string
sha256_file / sha512_file / md5_file(path) -> Result[string, string]