diff options
Diffstat (limited to 'Swiften/StringCodecs/PBKDF2.h')
-rw-r--r-- | Swiften/StringCodecs/PBKDF2.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Swiften/StringCodecs/PBKDF2.h b/Swiften/StringCodecs/PBKDF2.h new file mode 100644 index 0000000..e87380d --- /dev/null +++ b/Swiften/StringCodecs/PBKDF2.h @@ -0,0 +1,10 @@ +#pragma once + +#include "Swiften/Base/ByteArray.h" + +namespace Swift { + class PBKDF2 { + public: + static ByteArray encode(const ByteArray& password, const ByteArray& salt, int iterations); + }; +} |