flat assembler
Message board for the users of flat assembler.

flat assembler > Windows > base64, md5, etc

Author
Thread Post new topic Reply to topic
zxcv
Guest




is ther any library under windows that has hash/codes algs?
Im almost sure it is, ms always put lot of usless stuff in system. So whats its name?
Post 11 Jan 2008, 09:37
Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 5976
Location: Poland
Some cryptographic stuff (eg. for calculating MD5 hash) you can find in 'advapi32.dll'.
Post 11 Jan 2008, 10:03
View user's profile Send private message Visit poster's website Reply with quote
AlexP



Joined: 14 Nov 2007
Posts: 561
Location: Out the window. Yes, that one.
Yeah, or just make your own. Doesn't take much to make MD5 (which is already broken) or SHA-1 (which is considered broken by most people). I have SHA-1,SHA-224,SHA-256 coded in FASM, and if u want I can give u an MD5 by the end of the day Smile Just ask for something, I'm home sick from school Confused. Fever goin' around all over here. BTW, if u want a FASM implementation of the sequence of API's that u need to call, I'll post them here for u to use.
Okay, here's the process of API's u need to call if u want to use the Win implementations : (by doing so u call yourself a weakling Smile )
Code:
CryptAquireContext > CryptCreateHash > CryptEncrypt OR CryptHashData > CryptDestroyHash > CryptReleaseContext

There's other things like CryptGetHashParam for obtaining the hash, MSDN has all the doc's for them.

There's quite a bit u need to do, but only have to manage a few pointers to the CSP objects. I'll be happy to supply u with any of them, backdoor optional Smile

Almost done w/MD5, here in a few hrs after debug...
Post 11 Jan 2008, 14:46
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2279
Location: Usono (aka, USA)
I think decard wrote a base64 lib, maybe also md5 (can't remember). Too bad his site is down. Anyone have it on-hand?
Post 25 Jan 2008, 06:56
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2279
Location: Usono (aka, USA)
Found it! Hope this helps. Very Happy

Code:
Archive: decard-base64.zip Length Date Time Name -- ------ ---- ---- ---- 0 09/09/04 13:31 base64/ 3072 09/14/04 08:45 base64/base64enc.exe 0 09/14/04 08:40 base64/source/ 4252 09/14/04 08:44 base64/source/base64.asm 78 09/14/04 08:41 base64/source/base64.fpr 6268 09/14/04 08:44 base64/source/cmdln.asm 3670 09/14/04 08:44 base64/source/base64enc.asm -------- ------- 17340 7 files


Description: decard's base64 library for FASM (w/ example)
Download
Filename: decard-base64.zip
Filesize: 5.32 KB
Downloaded: 103 Time(s)

Post 26 Jan 2008, 20:44
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 2004-2018, Tomasz Grysztar.

Powered by rwasa.