SecureBlackbox 2020 macOS Edition

Questions / Feedback?

HashFile Method

Calculates a message digest over data contained in a file.


public func hashFile(sourceFile: String) throws -> Data


This method calculates and returns a message digest over the data contained in file SourceFile. This is a quick way to calculate a hash over a file content in one go.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 macOS Edition - Version 20.0 [Build 8165]