Add a configuration file + crypto module interface
[rup.git] / src / crypto.rs
diff --git a/src/crypto.rs b/src/crypto.rs
new file mode 100644 (file)
index 0000000..4190552
--- /dev/null
@@ -0,0 +1,10 @@
+\r
+pub fn encrypt(key: &str, plain_text: &str) -> String {\r
+    String::new()\r
+}\r
+\r
+pub fn decrypt(key: &str, cypher_text: &str) -> Option<String> {\r
+\r
+    println!("cypher: {}", cypher_text);\r
+    Some(String::new())\r
+}\r