News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Crypto Lib by drizz

Started by clamicun, January 06, 2016, 08:34:18 AM

Previous topic - Next topic

clamicun

CryptoLib by drizz

I am trying to check passwords with md5, sha or whatever.
So I found CryptoLib by drizz.

Seems like a lot of work and quite professional.
But - I am not able to compile anything. (Of course I set the right path).
Not even the examples,(I hate non working examples).
Tried the c example. Lots of errors too.

The best is the last sentence in the doc\quickref.htm ... "Simple, isn't it?"

Anyone ever successfully used one those routines in the pack ?

Grincheux

No

I use http://www.saphir2.com/sphlib/

An other one : http://www.libtom.org/

Create a DLL from a compiler http://www.smorgasbordet.com/pellesc/
Then call it from your asm source file

ragdog

I use often the function from Drizz Cryptohash and all works very fine

What is your problem correctly.

Use you the bat to recompile the lib  it use Jwasm or change it to Masm

This is for Masm


@echo off
echo Assembling library modules.

cd CIPHERS
echo.
echo Assembling CIPHERS
echo ==================
echo.
\masm32\bin\ml /nologo /c /Cp /coff *.asm
if errorlevel 1 goto _end
copy *.obj .\..\*.obj
del *.obj
cd ..

cd hashes
echo.
echo Assembling HASHES
echo =================
echo.
\masm32\bin\ml /nologo /c /Cp /coff *.asm
copy *.obj .\..\*.obj
del *.obj
cd ..

cd checksums
echo.
echo Assembling CHECKSUMS
echo ====================
echo.
\masm32\bin\ml /nologo /c /Cp /coff *.asm
copy *.obj .\..\*.obj
del *.obj
cd ..

cd textformats
echo.
echo Assembling TEXTFORMATS
echo ======================
echo.
\masm32\bin\ml /nologo /c /Cp /coff *.asm
copy *.obj .\..\*.obj
del *.obj
cd ..

\masm32\bin\link /lib /nologo *.obj /out:cryptohash.lib
echo.

copy        cryptohash.lib \masm32\lib\cryptohash.lib
copy        cryptohash.inc \masm32\include\cryptohash.inc
:_end
pause
del *.obj


And this examples in this package works fine

clamicun

Thank you guys.
I was using chtest.asm  from Crypto Lib.
It has errors.
I fixed it.
Runs well now.