Edie Posted April 28, 2016 Share Posted April 28, 2016 Is there a way to check the checksum of a file in AutoIt? I made a search and there were a md5.dll from @piccaso but it's not online anymore... Link to comment Share on other sites More sharing options...
Synapsee Posted April 28, 2016 Share Posted April 28, 2016 Some include... ;Get SHA1 Local $File = FileOpenDialog("Select a file", EnvGet("systemdrive"), "All (*.*)") $FileRead = FileRead($File) _Crypt_Startup() $sha1 = _Crypt_HashData($FileRead, $CALG_SHA1) _Crypt_Shutdown() Link to comment Share on other sites More sharing options...
Edie Posted April 28, 2016 Author Share Posted April 28, 2016 Thank you @Synapsee. Link to comment Share on other sites More sharing options...
jguinch Posted April 28, 2016 Share Posted April 28, 2016 @Synapsee : using FileRead with the whole file, the script will crash with a big file. Instead, use _Crypt_HashFile, because it reads the file and hash the data gradually. Synapsee 1 Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
Synapsee Posted April 28, 2016 Share Posted April 28, 2016 i have understand better when i have notice that : _Crypt_HashFile use $sFilepath _Crypt_HashData use $vData thx for sharing this tips (i love your mug ^^) Link to comment Share on other sites More sharing options...
jguinch Posted April 28, 2016 Share Posted April 28, 2016 I bought the mug several years ago (arround ten I think). In this time, I remember there was a link on the forum for it (I think this one : http://www.cafepress.com/autoit ) Synapsee 1 Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now