Raised This Month: $ Target: $400
 0% 

[ANY] MD5 Stocks for both files and strings.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
nosoop
Veteran Member
Join Date: Aug 2014
Old 04-09-2018 , 05:09   Re: [ANY] MD5 Stocks for both files and strings.
Reply With Quote #3

To clarify on the MD5_File issue, OpenFile is implied to open in text mode by default.

This is an issue on Windows as any read newline \n characters will be read as the Windows \r\n line ending, causing the hash to be different.

The only change was to explicitly open the file in binary read mode "rb" instead.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode