Summary
Calculates the hash for a file using the given algorithm.
- Namespace
- Cake
.Common .Security - Containing Type
- FileHashCalculator
Syntax
public FileHash Calculate(FilePath filePath, HashAlgorithm hashAlgorithm)
Parameters
| Name | Type | Description |
|---|---|---|
| filePath | FilePath | The file path. |
| hashAlgorithm | HashAlgorithm | The algorithm to use. |
