sha256_f()

Calculates the SHA-256 hash of a file and returns it in hexadecimal format.

Syntax

sha256_f({file_path})

Parameters

Parameter Type Description Comment
file_path String The path to the file for which the SHA-256 hash will be calculated.

Return Value

Examples

Calculate the SHA-256 hash for a file located at “data/file.txt”

sha256_f("data/file.txt"); // returns the SHA-256 hash in hexadecimal format

See also

crc16
crc32
sha256
sha256_f
md5
md5_f