Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-02 08:51:49

0001 #ifndef DEFAULT_CRYPTOGRAPHIC_HASH_H
0002 #define DEFAULT_CRYPTOGRAPHIC_HASH_H
0003 
0004 /**
0005  * @file DefaultCryptographicHash.h
0006  * @author Pawel Sznajder (NCBJ)
0007  * @date March 24, 2025
0008  * @version 1.0
0009 */
0010 
0011 #include <string>
0012 
0013 #include "CryptographicHashI.h"
0014 
0015 namespace PARTONS {
0016 
0017 /**
0018  * @class DefaultCryptographicHash
0019  *
0020  * @brief Class for generating hash values.
0021  *
0022  * This class can be used for generating of hash values.
0023  */
0024 class DefaultCryptographicHash: public CryptographicHashI {
0025 
0026 public:
0027 
0028     /**
0029      * Default constructor.
0030      */
0031     DefaultCryptographicHash();
0032 
0033     /**
0034      * Destructor.
0035      */
0036     virtual ~DefaultCryptographicHash();
0037 
0038     virtual std::string generateSHA1HashSum(const std::string &string) const;
0039 };
0040 
0041 } /* namespace PARTONS */
0042 
0043 #endif /* DEFAULT_CRYPTOGRAPHIC_HASH_H */