FileHashUtils

Functions

Link copied to clipboard
fun File.sha256(bufferSize: Int = 8*1024*1024): String

Computes the SHA-256 hash of the file and returns the result as a hexadecimal string.