6d791eb0f56a437288a3e0780585a4558fc0cdfa
[rup.git] / src / crypto.rs
1
2 pub fn encrypt(key: &str, plain_text: &str) -> String {
3 let key_as_bytes = base64::decode(key);
4
5
6
7 String::new()
8 }
9
10 pub fn decrypt(key: &str, cypher_text: &str) -> Option<String> {
11
12 println!("cypher: {}", cypher_text);
13 Some(String::new())
14 }