summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-08-12 17:29:21 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-08-12 17:32:17 (GMT)
commitc6ffcd27e94d2f90fd4a3bcb5d2d3c6550ead59c (patch)
tree5968399a0d1ae73c1f197630bef3a0960e8525b5 /Swiften/StringCodecs/HMACSHA1.h
parent08cfaa06859238449d6848df4e170ffb6dc605d3 (diff)
downloadswift-contrib-c6ffcd27e94d2f90fd4a3bcb5d2d3c6550ead59c.zip
swift-contrib-c6ffcd27e94d2f90fd4a3bcb5d2d3c6550ead59c.tar.bz2
Refactored stringcodec functions to make them independent of hash algos.
Diffstat (limited to 'Swiften/StringCodecs/HMACSHA1.h')
-rw-r--r--Swiften/StringCodecs/HMACSHA1.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/Swiften/StringCodecs/HMACSHA1.h b/Swiften/StringCodecs/HMACSHA1.h
deleted file mode 100644
index 0463e64..0000000
--- a/Swiften/StringCodecs/HMACSHA1.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright (c) 2010 Remko Tronçon
- * Licensed under the GNU General Public License v3.
- * See Documentation/Licenses/GPLv3.txt for more information.
- */
-
-#pragma once
-
-#include <Swiften/Base/ByteArray.h>
-#include <Swiften/Base/SafeByteArray.h>
-
-namespace Swift {
- class HMACSHA1 {
- public:
- static ByteArray getResult(const SafeByteArray& key, const ByteArray& data);
- static ByteArray getResult(const ByteArray& key, const ByteArray& data);
- };
-}