fileSHA1

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

Creates SHA1 hash of given file.

Return

SHA1 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