Hash SHA1

Post Reply
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Hash SHA1

Post by Marco Turco »

Hi,
has anyone a routine to generate the SHA1 hash of a string ?

Thanks
Best Regards,

Marco Turco
SOFTWARE XP LLP
toninhofwi
Posts: 161
Joined: Tue Oct 18, 2005 10:01 am

Re: Hash SHA1

Post by toninhofwi »

Hi,

Yes, in Harbour, please see \harbour\contrib\hbcrypt\sha1.c

Regards,

Toninho.
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Re: Hash SHA1

Post by Marco Turco »

Hi Toninho,
where can I download that file ?
I checked the xharbour contrib lib sources and that file doesn't exist.
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Rimantas
Posts: 437
Joined: Fri Oct 07, 2005 12:56 pm
Location: Utena , Lithuania

Re: Hash SHA1

Post by Rimantas »

Marco Turco wrote:Hi Toninho,
where can I download that file ?
I checked the xharbour contrib lib sources and that file doesn't exist.
Toninho wroted in HARBOUR , not in xHARBour . So please , go www.harbour-project.org , dowload section , the you will find sources and what you need ...
Rimantas U.
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Re: Hash SHA1

Post by Marco Turco »

Thanks for the suggest,
but that file doesn't exist in the harbour sources also....
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
IBTC
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany
Contact:

Re: Hash SHA1

Post by IBTC »

Marco Turco wrote:but that file doesn't exist in the harbour sources also....
Download the source directly from http://sourceforge.net/projects/harbour-project

Here you will find the file:

http://harbour-project.svn.sourceforge. ... b/hbcrypt/
Last edited by IBTC on Tue Apr 28, 2009 10:13 am, edited 1 time in total.
Best Regards,
Ruediger Alich

---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
User avatar
Marco Turco
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London
Contact:

Re: Hash SHA1

Post by Marco Turco »

Hi IBTC,
thanks for your link.

I succesfully linked that file to my app but I have some problem about the use of this function.

Do you have a prg sample that show how it has to be used ?

Thanks in advance
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
IBTC
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany
Contact:

Re: Hash SHA1

Post by IBTC »

Hi Marco,
Marco Turco wrote: Do you have a prg sample that show how it has to be used ?
Sorry, but I don't use this function.
Best Regards,
Ruediger Alich

---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
Post Reply