X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=src%2Fcrypto.rs;fp=src%2Fcrypto.rs;h=419055252cd971e82d35fecbcb2595ca128192f0;hb=7b132e2976883c7b8e63540129a36eb63ceb33c5;hp=0000000000000000000000000000000000000000;hpb=8834567b2f53bad60b9d77ff7970077f9af0888d;p=rup.git diff --git a/src/crypto.rs b/src/crypto.rs new file mode 100644 index 0000000..4190552 --- /dev/null +++ b/src/crypto.rs @@ -0,0 +1,10 @@ + +pub fn encrypt(key: &str, plain_text: &str) -> String { + String::new() +} + +pub fn decrypt(key: &str, cypher_text: &str) -> Option { + + println!("cypher: {}", cypher_text); + Some(String::new()) +}