summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/StringCodecs/SHA1.h')
-rw-r--r--Swiften/StringCodecs/SHA1.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Swiften/StringCodecs/SHA1.h b/Swiften/StringCodecs/SHA1.h
new file mode 100644
index 0000000..9f54e8e
--- /dev/null
+++ b/Swiften/StringCodecs/SHA1.h
@@ -0,0 +1,10 @@
+#pragma once
+
+#include "Swiften/Base/ByteArray.h"
+
+namespace Swift {
+ class SHA1 {
+ public:
+ static ByteArray getHash(const ByteArray& data);
+ };
+}