Sign in to follow this  
Followers 0
COD3369

Hash returns in Unreadable words ?

3 posts in this topic

While 1
Local $sData = InetRead( "http://wwww.google.com" )
Local $sHash = _Crypt_HashData($sData, $CALG_MD5)
MsgBox ( 0 , "Hash" , "Hash: " & $sHash )
FileWriteLine ( "hash.txt" , $sHash ) 
sleep(3000)
wend

it creates file called hash.txt i am expecting md5 hash of 

$sData

in file but it writes some unreadable strings !! ?? >_<  :  

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Try This, Convert it to Hex() 

While 1
Local $sData = InetRead( "http://wwww.google.com" )
Local $sHash = _Crypt_HashData($sData, $CALG_MD5)
MsgBox ( 0 , "Hash" , "Hash: " & $sHash )
FileWriteLine ( "hash.txt" , Hex($sHash) ) 
sleep(3000)
wend
Edited by mrflibblehat

[font="'courier new', courier, monospace;"]Pastebin UDF | Prowl UDF[/font]

Share this post


Link to post
Share on other sites

Thanks Mate ! :)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0