annotate src/sha.h @ 6985:0e5a5e5e07f0

[gaim-migrate @ 7541] sean wants these here committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 27 Sep 2003 23:42:22 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6985
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
1 /**
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
2 * @file sha.h SHA1 Hash functions
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
3 *
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
4 * gaim
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
5 *
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
6 * Copyright (C) 2003 Nathan Walp <faceprint@faceprint.com>
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
7 *
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
11 * (at your option) any later version.
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
12 *
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful,
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
16 * GNU General Public License for more details.
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
17 *
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
21 */
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
22 #ifndef _GAIM_JABBER_SHA_H_
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
23 #define _GAIM_JABBER_SHA_H_
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
24
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
25 char *shahash(char *str);
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
26 void shahash_r(const char* str, char hashbuf[41]);
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
27
0e5a5e5e07f0 [gaim-migrate @ 7541]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
28 #endif /* _GAIM_JABBER_JID_H_ */