X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=src%2Fcrypto.rs;h=16fbaa0c6b8094fc26a9c2e7537391ee11562b7e;hb=HEAD;hp=6d791eb0f56a437288a3e0780585a4558fc0cdfa;hpb=98687ed0454061c7164ab64e8bd5d25b18896a39;p=rup.git diff --git a/src/crypto.rs b/src/crypto.rs deleted file mode 100644 index 6d791eb..0000000 --- a/src/crypto.rs +++ /dev/null @@ -1,14 +0,0 @@ - -pub fn encrypt(key: &str, plain_text: &str) -> String { - let key_as_bytes = base64::decode(key); - - - - String::new() -} - -pub fn decrypt(key: &str, cypher_text: &str) -> Option { - - println!("cypher: {}", cypher_text); - Some(String::new()) -}