diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-08-12 20:31:47 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-08-12 20:31:47 (GMT) |
commit | a17d7fdf1d3c2cf6dceebc6fa2d71879ce838a3f (patch) | |
tree | 89066088e392b5029cedf03125dd353e598f6958 /Swiften/StringCodecs/HMAC_SHA256.h | |
parent | 353e9d5cd422779888d21e3780a0cb8f299f0a93 (diff) | |
download | swift-contrib-a17d7fdf1d3c2cf6dceebc6fa2d71879ce838a3f.zip swift-contrib-a17d7fdf1d3c2cf6dceebc6fa2d71879ce838a3f.tar.bz2 |
Added HMAC-SHA256.
Diffstat (limited to 'Swiften/StringCodecs/HMAC_SHA256.h')
-rw-r--r-- | Swiften/StringCodecs/HMAC_SHA256.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Swiften/StringCodecs/HMAC_SHA256.h b/Swiften/StringCodecs/HMAC_SHA256.h new file mode 100644 index 0000000..2d856cb --- /dev/null +++ b/Swiften/StringCodecs/HMAC_SHA256.h @@ -0,0 +1,14 @@ +/* + * Copyright (c) 2011 Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include <Swiften/StringCodecs/HMAC.h> +#include <Swiften/StringCodecs/SHA256.h> + +namespace Swift { + typedef HMAC<SHA256, 64> HMAC_SHA256; +} |