SHA256/224 Fingerprint and FileFingerprint

Share your advanced PureBasic knowledge/code with the community.
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

Re: SHA256/224 Fingerprint and FileFingerprint

Post by Guimauve »

Hello

I have just try to test the SHA256 file fingerprint on Fedora 15 iso file and I the code don't compile and this error message pop :
PureBasic Assembler Error

purebasic.asm[5969]:
MP12
purebasic.asm[4907] MP12 [23]:
push edi
error: illegal instruction.
Even if the "Enable inline ASM support" in the compiler option windows. If this can help you :

LinuxMint 11 Katya x64
Processor : AMD Phenom II X4 965 (x64)
Purebasic : V4.60 Beta 4 x64

Best regards.
Guimauve
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: SHA256/224 Fingerprint and FileFingerprint

Post by netmaestro »

If you're using x64 you shouldn't use this. Use Helle's that he just posted here a couple days ago, it's made specifically for x64 and he's covered all the SHA2 versions in it. We've never tested this one on x64.
BERESHEIT
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: SHA256/224 Fingerprint and FileFingerprint

Post by netmaestro »

Another speed improvement today, wilbert found some optimizations. Code updated in first post.
BERESHEIT
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: SHA256/224 Fingerprint and FileFingerprint

Post by IdeasVacuum »

Hello chaps. Really really fast, but fails when compiled as Unicode exe :(
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply