summaryrefslogtreecommitdiff
path: root/modules/crypto/c++
diff options
context:
space:
mode:
authorClaudius 'keldu' Holeksa <mail@keldu.de>2024-07-17 18:12:24 +0200
committerClaudius 'keldu' Holeksa <mail@keldu.de>2024-07-17 18:12:24 +0200
commit28d1ddb50cb1cfdd4b22fd487ceebc0741825cb0 (patch)
tree31271e62b20320df0f3b9a5d6f638b2d3d1b8483 /modules/crypto/c++
parentd52d9f86a505bc921fea7a3fa5ff3075b67151ff (diff)
Minor crypto additions
Diffstat (limited to 'modules/crypto/c++')
-rw-r--r--modules/crypto/c++/hash.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/crypto/c++/hash.hpp b/modules/crypto/c++/hash.hpp
new file mode 100644
index 0000000..3d25b4e
--- /dev/null
+++ b/modules/crypto/c++/hash.hpp
@@ -0,0 +1,19 @@
+#pragma once
+
+namespace saw {
+namespace crypto {
+struct Argon2i {};
+}
+
+template<typename Crypto>
+class hash;
+
+template<>
+class hash<crypto::Argon2i> {
+public:
+
+ data<schema::String> apply(const data<schema::Array<schema::UInt8>>& input){
+ return {""};
+ }
+};
+}