"actix-files 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"actix-web 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"askama 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
"itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"listenfd 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
"openssl 0.10.23 (registry+https://github.com/rust-lang/crates.io-index)",
listenfd = "0.3" # To watch file modifications and automatically launch a build process (only used in dev/debug).
ron = "0.5.1" # Rust object notation, to load configuration files.
itertools = "0.8.0"
-url = "1.7.2"
\ No newline at end of file
+url = "1.7.2"
+base64 = "0.10.1"
\ No newline at end of file
\r
+pub fn encrypt(key: &str, plain_text: &str) -> String {\r
+ let key_as_bytes = base64::decode(key);\r
+\r
\r
\r
-pub fn encrypt(key: &str, plain_text: &str) -> String {\r
- dbg!(key);\r
String::new()\r
}\r
\r