kspread

digest.h
1/*************************************************************************
2 * This implementation has been taken from the OpenOffice 1.0 and modified
3 * to use KSpread data types
4 *
5 * $RCSfile$
6 *
7 * $Revision: 466447 $
8 *
9 * last change: $Author: zander $ $Date: 2005-10-02 19:54:10 +0200 (Sun, 02 Oct 2005) $
10 *
11 * The Contents of this file are made available subject to the terms of
12 * either of the following licenses
13 *
14 * - GNU Lesser General Public License Version 2.1
15 * - Sun Industry Standards Source License Version 1.1
16 *
17 * Sun Microsystems Inc., October, 2000
18 *
19 * GNU Lesser General Public License Version 2.1
20 * =============================================
21 * Copyright 2000 by Sun Microsystems, Inc.
22 * 901 San Antonio Road, Palo Alto, CA 94303, USA
23 *
24 * This library is free software; you can redistribute it and/or
25 * modify it under the terms of the GNU Lesser General Public
26 * License version 2.1, as published by the Free Software Foundation.
27 *
28 * This library is distributed in the hope that it will be useful,
29 * but WITHOUT ANY WARRANTY; without even the implied warranty of
30 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
31 * Lesser General Public License for more details.
32 *
33 * You should have received a copy of the GNU Lesser General Public
34 * License along with this library; if not, write to the Free Software
35 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
36 * Boston, MA 02110-1301, USA
37 *
38 * Contributor(s): Matthias Huetsch <matthias.huetsch@sun.com>
39 *
40 *
41 ************************************************************************/
42
43#ifndef _DIGEST_
44#define _DIGEST_
45
46#include <tqcstring.h>
47#include <tqstring.h>
48
49class SHA1
50{
51 public:
52 static bool getHash( TQString const & text, TQCString & hash );
53};
54
55#endif
56