BubbleGumDancer Posted October 25, 2011 Share Posted October 25, 2011 I have been doing the googlinginging for hours now and cant find any method in autoit to get an md5/sha1/sha256 hash of a file. I need an md5 checksum of a file generated from an av site like virustotal to match a file ill be viewing and see if they are the same and for example run another func () if it is or exit the program if its not a 100% match i did find this in c++ #include <openssl/md5.h> QByteArray AESWrapper::md5 ( const QByteArray& data) { unsigned char * tmp_hash; tmp_hash = MD5((const unsigned char*)data.constData(), data.length(), NULL); return QByteArray((const char*)tmp_hash, MD5_DIGEST_LENGTH); } but for the project im working on it needs to be in autoit for a number of reasons If you were twice as smart, you'd still be stupid. Link to comment Share on other sites More sharing options...
Robjong Posted October 25, 2011 Share Posted October 25, 2011 Hey, Google must hate you, a search for "AutoIt MD5 SHA1" gives me the following as the first result You can download the UDF's there, examples included. 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