fileSHA256

fun fileSHA256(filepath: String, fileSystem: FileSystem = FileSystem.SYSTEM): String(source)

Creates SHA256 hash of given file.

Return

SHA256 hash.

Parameters

filepath

Path to file that needs to be hashed.

fileSystem

File system to use. Defaults to current process host's file system.

Throws

IOException