1 The basic framework for this code came from the reference 2 implementation for MD5. That implementation is Copyright (C) 3 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. 4 5 License to copy and use this software is granted provided that it 6 is identified as the "RSA Data Security, Inc. MD5 Message-Digest 7 Algorithm" in all material mentioning or referencing this software 8 or this function. 9 10 License is also granted to make and use derivative works provided 11 that such works are identified as "derived from the RSA Data 12 Security, Inc. MD5 Message-Digest Algorithm" in all material 13 mentioning or referencing the derived work. 14 15 RSA Data Security, Inc. makes no representations concerning either 16 the merchantability of this software or the suitability of this 17 software for any particular purpose. It is provided "as is" 18 without express or implied warranty of any kind. 19 20 These notices must be retained in any copies of any part of this 21 documentation and/or software. 22 23 NOTE: Cleaned-up and optimized, version of SHA1, based on the FIPS 180-1 24 standard, available at http://www.itl.nist.gov/div897/pubs/fip180-1.htm 25 Not as fast as one would like -- further optimizations are encouraged 26 and appreciated. 27