How to calculate a Hash MD5 from one string?

How to calculate a Hash MD5 from one string?

Postby vilian » Tue May 22, 2007 1:45 am

Antonio,

How to calculate a Hash MD5 from one string?
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby Baxajaun » Tue May 22, 2007 2:27 am

User avatar
Baxajaun
 
Posts: 968
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia

Re: How to calculate a Hash MD5 from one string?

Postby ssbbs » Tue May 22, 2007 10:21 am

vilian wrote:Antonio,

How to calculate a Hash MD5 from one string?


xHarbour support it, like:
MD5("") = d41d8cd98f00b204e9800998ecf8427e
MD5("a") = 0cc175b9c0f1b6a831c399e269772661
MD5("abc") = 900150983cd24fb0d6963f7d28e17f72
MD5("message digest") = f96b697d7cb7938d525a2f31aaf161d0
MD5("abcdefghijklmnopqrstuvwxyz") = c3fcd3d76192e4007dfb496cca67e13b
MD5("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = d174ab98d277d9f5a5611c2c9f419d9f
MD5("12345678901234567890123456789012345678901234567890123456789012345678901234567890") = 57edf4a22be3c955ac49da2e2107b67a


support file:
? HB_MD5FILE ( cInFile )
User avatar
ssbbs
 
Posts: 104
Joined: Mon Oct 17, 2005 3:03 am
Location: Taiwan

Postby vilian » Tue May 22, 2007 11:42 am

Ssbbs,

Thanks.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby RAMESHBABU » Tue May 22, 2007 1:35 pm

Hi ssbbs,

HB_MD5("abc") = 900150983cd24fb0d6963f7d28e17f72


How to get the actual value i.e. "abc" from "900150983cd24fb0d6963f7d28e17f72" ?

Regards

- Ramesh Babu P
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Postby vilian » Tue May 22, 2007 4:51 pm

Ramesh,

Until where I know, one of the great advantages of the MD5 is that this is not possible.
Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
User avatar
vilian
 
Posts: 975
Joined: Wed Nov 09, 2005 2:17 am
Location: Brazil

Postby RAMESHBABU » Tue May 22, 2007 5:16 pm

Mr.Vilian

one of the great advantages of the MD5 is that this is not possible.


Excellent answer.

I was in need of such function.

Regards

- Ramesh Babu P
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Postby ssbbs » Wed May 23, 2007 3:15 am

RAMESHBABU wrote:Hi ssbbs,

HB_MD5("abc") = 900150983cd24fb0d6963f7d28e17f72


How to get the actual value i.e. "abc" from "900150983cd24fb0d6963f7d28e17f72" ?

Regards

- Ramesh Babu P


reference : http://www.md5decrypter.com/
User avatar
ssbbs
 
Posts: 104
Joined: Mon Oct 17, 2005 3:03 am
Location: Taiwan

Postby RAMESHBABU » Wed May 23, 2007 6:20 am

Hi Ssbbs,

Oh! Md5 hash dicryption is avalable:o

Is there any way to get its code ?

Thanks

- Ramesh Babu P
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 62 guests