hash — file hashes
hash check runs the contents of files through a hashing algorithm, and asserts that the result matches a known hash.
Check that a file has a specific MD5 hash:
[[hash]] path = '/usr/bin/specsheet' algorithm = 'md5' hash = '3f22baaf4ba820a800dfc51af5ba1892'
List of parameters
|algorithm||string||The hashing algorithm to use.|
|hash||string||The expected hash, as a string.|
|path||string||Path to a local file on disk.|
List of hashing algorithms