projects
/
rup.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Read and decode key file
[rup.git]
/
src
/
crypto.rs
1
2
3
4
pub fn
encrypt
(
key
: &
str
,
plain_text
: &
str
) ->
String
{
5
dbg!
(
key
);
6
String
::
new
()
7
}
8
9
pub fn
decrypt
(
key
: &
str
,
cypher_text
: &
str
) ->
Option
<
String
> {
10
11
println!
(
"cypher:
{}
"
,
cypher_text
);
12
Some
(
String
::
new
())
13
}