Skip to main content

Function: hashFile()

hashFile(file, algorithm?, encoding?, options?): Promise<string>

Parameters

file

string

algorithm?

string = "sha512"

encoding?

"base64" | "hex"

options?

any

Returns

Promise<string>