diff options
Diffstat (limited to 'Swiften/StringCodecs/SHA1.h')
-rw-r--r-- | Swiften/StringCodecs/SHA1.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Swiften/StringCodecs/SHA1.h b/Swiften/StringCodecs/SHA1.h index 0b0f434..9f54e8e 100644 --- a/Swiften/StringCodecs/SHA1.h +++ b/Swiften/StringCodecs/SHA1.h @@ -1,14 +1,10 @@ -#ifndef SWIFTEN_SHA1_H -#define SWIFTEN_SHA1_H +#pragma once #include "Swiften/Base/ByteArray.h" namespace Swift { class SHA1 { public: - static ByteArray getBinaryHash(const ByteArray& data); - static String getHexHash(const ByteArray& data); - }; + static ByteArray getHash(const ByteArray& data); + }; } - -#endif |