fileSHA512

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

Creates SHA512 hash of given file.

Return

SHA512 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