I search for a quick way of calling a sha-1 function in WINDOWS c.
I tried openssl, but I found no current windows static lib file to download (libcrypto.lib), compiling from source is no quick option for me.
On the website http://www.packetizer.com/security/sha1/ I found a c implementation of sha-1 (Paul E. Jones).
It is only one c file (sha1.c) with 370 lines of code and one header file, so it seems pretty easy to include into my source code.
Concerning this implementation I have the following question:
1) The source code is copyrighted under FPL (Freeware Public License). I have looked at http://opensource.org/licenses/alphabetical for Freeware Public License, but I did not find it.
The licence file in the source says:
This software is licensed as "freeware." Permission to distribute
this software in source and binary forms, including incorporation
into other products, is hereby granted without a fee. THIS SOFTWARE
IS PROVIDED 'AS IS' AND WITHOUT ANY EXPRESSED OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHOR SHALL NOT BE HELD
LIABLE FOR ANY DAMAGES RESULTING FROM THE USE OF THIS SOFTWARE, EITHER
DIRECTLY OR INDIRECTLY, INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA
OR DATA BEING RENDERED INACCURATE.
So it seems that this license is permissive like BSD, MIT or Apache license. Is this right? Or is the license similar to GPL or LGPL?
2) Does somebody know if this is a reliable implementation?
Thanks alot in advance