Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

HashFunction.h

00001 /*
00002  * Copyright 2003 Michael A. Marsh, Cornell University. All rights reserved.
00003  * This software is released under the modified BSD license.
00004  * See the file LICENSE in the top-level directory for details.
00005  */
00006 //
00007 // $Id: HashFunction.h,v 1.4 2004/05/19 15:56:47 mmarsh Exp $
00008 //
00009 // $Log: HashFunction.h,v $
00010 // Revision 1.4  2004/05/19 15:56:47  mmarsh
00011 // *** empty log message ***
00012 //
00013 // Revision 1.3  2003/11/04 22:31:47  mmarsh
00014 // *** empty log message ***
00015 //
00016 //
00017 
00018 #ifndef __CODEX_CIPHERS_HASHFUNCTION_H__
00019 #define __CODEX_CIPHERS_HASHFUNCTION_H__
00020 
00021 #include <openssl/bn.h>
00022 #include "CODEX_ASN1/Base.h"
00023 
00024 namespace CODEX_Ciphers
00025 {
00030    class HashFunction
00031    {
00032       public :
00034          typedef CODEX_ASN1::ustring ustring;
00035 
00040          virtual ustring* operator()( const ustring& buff ) const = 0;
00041 
00047          virtual ustring* operator()( const ustring& buff,
00048                                       unsigned int len ) const = 0;
00049    };
00050 
00051 }
00052 
00053 #endif /* __CODEX_CIPHERS_HASHFUNCTION_H__ */

Generated on Wed Jun 2 16:32:55 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18