This package was debianized by David N. Welton on Mon, 26 Jan 2003 09:50:23 +0100. It was downloaded from http://aolserver.sf.net Copyright: /* * The contents of this file are subject to the AOLserver Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://aolserver.com/. * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See * the License for the specific language governing rights and limitations * under the License. * * The Original Code is AOLserver Code and related documentation * distributed by AOL. * * The Initial Developer of the Original Code is America Online, * Inc. Portions created by AOL are Copyright (C) 1999 America Online, * Inc. All Rights Reserved. * * Alternatively, the contents of this file may be used under the terms * of the GNU General Public License (the "GPL"), in which case the * provisions of GPL are applicable instead of those above. If you wish * to allow use of your version of this file only under the terms of the * GPL and not to allow others to use your version of this file under the * License, indicate your decision by deleting the provisions above and * replace them with the notice and other provisions required by the GPL. * If you do not delete the provisions above, a recipient may use your * version of this file under either the License or the GPL. */ ( See /usr/share/common-licenses/GPL-2 for a copy of the GPL ) /* * nssha1.c -- * * A simple AOLserver module to perform SHA1 hashes. The SHA1 routines * are borrowed from libmd, which contains the following header: * * * sha.c - NIST Secure Hash Algorithm, FIPS PUB 180 and 180.1. * * The algorithm is by spook(s) unknown at the U.S. National Security Agency. * * * * Written 2 September 1992, Peter C. Gutmann. * * This implementation placed in the public domain. * * * * Modified 1 June 1993, Colin Plumb. * * Modified for the new SHS based on Peter Gutmann's work, * * 18 July 1994, Colin Plumb. * * * * Renamed to SHA and comments updated a bit 1 November 1995, Colin Plumb. * * These modifications placed in the public domain. * * * * Comments to pgut1@cs.aukuni.ac.nz * * * * Hacked for use in libmd by Martin Hinner * * This Tcl library was hacked by Jon Salz . * */