kspread

digest.h

00001 /*************************************************************************
00002  * This implementation has been taken from the OpenOffice 1.0 and modified
00003  * to use KSpread data types
00004  *
00005  *  $RCSfile$
00006  *
00007  *  $Revision: 466447 $
00008  *
00009  *  last change: $Author: zander $ $Date: 2005-10-02 18:54:10 +0100 (Sun, 02 Oct 2005) $
00010  *
00011  *  The Contents of this file are made available subject to the terms of
00012  *  either of the following licenses
00013  *
00014  *         - GNU Lesser General Public License Version 2.1
00015  *         - Sun Industry Standards Source License Version 1.1
00016  *
00017  *  Sun Microsystems Inc., October, 2000
00018  *
00019  *  GNU Lesser General Public License Version 2.1
00020  *  =============================================
00021  *  Copyright 2000 by Sun Microsystems, Inc.
00022  *  901 San Antonio Road, Palo Alto, CA 94303, USA
00023  *
00024  *  This library is free software; you can redistribute it and/or
00025  *  modify it under the terms of the GNU Lesser General Public
00026  *  License version 2.1, as published by the Free Software Foundation.
00027  *
00028  *  This library is distributed in the hope that it will be useful,
00029  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00030  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00031  *  Lesser General Public License for more details.
00032  *
00033  *  You should have received a copy of the GNU Lesser General Public
00034  *  License along with this library; if not, write to the Free Software
00035  *  Foundation, Inc., 51 Franklin Street, Fifth Floor,
00036  * Boston, MA 02110-1301, USA
00037  *
00038  *  Contributor(s): Matthias Huetsch <matthias.huetsch@sun.com>
00039  *
00040  *
00041  ************************************************************************/
00042 
00043 #ifndef _DIGEST_
00044 #define _DIGEST_ 
00045 
00046 #include <qcstring.h>
00047 #include <qstring.h>
00048 
00049 class SHA1
00050 {
00051  public:
00052   static bool getHash( QString const & text, QCString & hash );
00053 };
00054 
00055 #endif
00056 
KDE Home | KDE Accessibility Home | Description of Access Keys