English
Forum

Hash.dll

 

Jac
de
Lad
so, here something fine: The Hash.dll. the good Piece isn't of me, is Freeware to own and non-commercial usage. The DLL rule following Algorithms:

MD2
MD4
MD5
SHA1
SHA256
SHA384
SHA512
HAVAL128
HAVAL160
HAVAL192
HAVAL224
HAVAL256
GHOST
TIGER128
TIGER160
TIGER192
RIPE-MD128
RIPE-MD160
CRC32
CRC16
ARC-CRC

I Have ne Unit dazugeschrieben, The ex XProfan 8 functions. unfortunately can with the Unit too only Hashes of Files produce and not of reaches, How I me the already long wish.

plenty Fun,
Jacob

PS: On an example have I because of the Simplicity waived...

Update: one can now too Hashes of reaches produce, though with the detour over a temporary File. The Unit functions now only yet with XProfan 10 and new.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
11/08/07  
 



Do I well still The mine Unit umproggen so with the whom reaches works what?
 
11/08/07  
 




Jac
de
Lad
to that Bleistift.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
11/08/07  
 




Jac
de
Lad
here a Version with Ner cheap demonstration and on multiple wish one individual Dietmar the Link on The Page the DLL-Erstellers: www.paehl.de

UseDLL is Nich necessary!
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
11/09/07  
 




Jac
de
Lad
i'm another Error noticed, The PCU becomes tonight updated. then ought to the proposition completed his.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
11/09/07  
 




Jac
de
Lad
Ferdich...

38 kB
Kurzbeschreibung: ACHTUNG: UNIT LÖSCHT VERMUTLICH DATEIEN; ONLY DIE DLL NUTZEN!!!
Hochgeladen:11/09/07
Downloadcounter915
Download
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
11/09/07  
 




E.T.
I knows, is already something older...

Have today time something with the DLL (+pcu of Jac) "rumgespielt:
CompileMarkSeparation
 {$RUNTIME E:XPROFAN-RUNTIMESP11.2aPRFRUN11.2a.Test.EXE}
 {$IQ}
 {$MapFile}
 {$CLEQ} wenn fertig, Exe erzeugen
#include Hashes.pcu=Hash.
 $U Hashes.pcu=Hash.
cls
@Set("Decimals",0)
Print "Lade Datei-Liste... bitte warten"
CLearList
AddFiles *"E:\TestPics\*.jpg"
@ListBox$("Gefundene JPG-Bilder: " + @str$(%GetCount+1),4)
Print "Erstelle MD5-Liste... bitte warten"

WhileLoop 0,%GetCount

    Print @ListBoxItem$(&loop);" >> ";Hash.Hash(@ListBoxItem$(&loop),"MD5")

EndWhile

waitinput
end

crazy thing, The MD5s get of all Files displayed.
now but my trouble:
thereafter were The Files in the Test-directory (in this drop Images) complete deleted
(neither in the wastebasket).


has someone experience with this dll (pcu) ???
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
03/09/10  
 



No experience with the Unit, MD5 missing me personally too still in the Function Reference  [...]  - would vlt. time interestingly, How MD5 by ASM and/or Nproc To to charge is.
 
03/09/10  
 




Dieter
Zornow
means The PCU use I do not, because it Yes simply is the too so To use. The DLL deletes with safety nothing.
CompileMarkSeparation
DEF testit(3) ! "hashes.dll","testit"

proc stringhash

    parameters in$,hash$
    declare zeile$,dll&,out$,b#
    out$ = $Appdatadir+"Hash.txt"
    dll& =usedll("hashes.dll")
    dim b#, len(in$)
    char b#,0,in$
    Blockwrite out$,b#,0,sizeof(b#)
    dispose b#
    testit(addr(out$),addr(hash$),addr(out$))
    assign #1,out$
    Reset #1
    input #1,zeile$
    close #1
    Assign #1,""
    erase out$
    freedll dll&
    return zeile$

endproc

proc hash

    parameters in$,hash$
    declare zeile$,dll&,out$
    out$ = $Appdatadir+"Hash.txt"
    dll& =usedll("hashes.dll")
    testit(addr(in$),addr(hash$),addr(out$))
    assign #1,out$
    Reset #1
    input #1,zeile$
    close #1
    Assign #1,""
    erase out$
    freedll dll&
    return zeile$

endproc

cls
var test$ = $Winpath+"\Angler.bmp"
Erst in Datei schreiben
print hash(test$,"MD5")
print hash(test$,"CRC32")
ohne in Datei zu schreiben
var t& =  testit(addr(test$),"MD5",chr$(0))
var t$ = string$(t&,0)
Hier könnte man den Zusatz entfernen, weiß nicht ob das zulässig ist
t$ = translate$(t$,"Free for non commercial use","")
t$ = Trim$(translate$(t$,"(c) By Dirk Paehl https://www.paehl.de",""))
Print t$
print
Hier einen Stringhash erstellen
Print "String --> ",stringhash("Hallo Leute","MD5")
waitinput
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
03/10/10  
 



I trau me not at all... The Unit from the pkg 4 Posts higher, deletes Files?
 
03/10/10  
 




E.T.
I Have Yes not said, these Unit deletes. These is in my MB eingebunden, otherwise nothing (and the dll naturally).

will be naturally times without The Unit testing, Dieter Yes what included
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
03/10/10  
 




E.T.
THANK YOU, DIETER !!

so works (would have Yes really too ven time look can, the The DLL only a function has. and these is too yet documents... )

Habs even again played out:
* with the Unit >> Files in the Test-directory wech
(by TestDisk nachgeschaut, Files are really deleted...)
* without Unit >> everything yet there

there becomes still not but these Unit... ... I Have tappt im dunkeln In any drop banished.
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
03/11/10  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.039 Views

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie