summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/StringCodecs/SHA1.h')
-rw-r--r--Swiften/StringCodecs/SHA1.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Swiften/StringCodecs/SHA1.h b/Swiften/StringCodecs/SHA1.h
new file mode 100644
index 0000000..7d432ac
--- /dev/null
+++ b/Swiften/StringCodecs/SHA1.h
@@ -0,0 +1,13 @@
+#ifndef SWIFTEN_SHA1_H
+#define SWIFTEN_SHA1_H
+
+#include "Swiften/Base/ByteArray.h"
+
+namespace Swift {
+ class SHA1 {
+ public:
+ static ByteArray getBinaryHash(const ByteArray& data);
+ };
+}
+
+#endif