aboutsummaryrefslogtreecommitdiff
path: root/include/odhtdb/PasswordHash.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/odhtdb/PasswordHash.hpp')
-rw-r--r--include/odhtdb/PasswordHash.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/odhtdb/PasswordHash.hpp b/include/odhtdb/PasswordHash.hpp
new file mode 100644
index 0000000..08b1857
--- /dev/null
+++ b/include/odhtdb/PasswordHash.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+#include "OwnedMemory.hpp"
+#include "DataView.hpp"
+
+namespace odhtdb
+{
+ OwnedMemory hashPassword(const DataView &plainPassword, const DataView &salt);
+}