This commit is contained in:
Christine Dodrill 2015-06-03 16:03:01 -07:00
parent c9a04fcd66
commit b8018eba46
1 changed files with 27 additions and 0 deletions

27
output.txt Normal file
View File

@ -0,0 +1,27 @@
xena@fluttershy (linux) ~/code/nim/crypt
➜ tup
[ tup ] [0.000s] Scanning filesystem...
[ tup ] [0.130s] Reading in new environment variables...
[ tup ] [0.130s] No Tupfiles to parse.
[ tup ] [0.130s] No files to delete.
[ tup ] [0.130s] Executing Commands...
1) [0.581s] nim c --nimcache:".nimcache" --deadcodeElim:on --verbosity:0 crypt.nim && rm -rf .nimcache
[ ] 100%
[ tup ] [0.848s] Updated.
xena@fluttershy (linux) ~/code/nim/crypt
➜ ls
crypt* crypt.nim Tupfile Tuprules.tup
xena@fluttershy (linux) ~/code/nim/crypt
➜ ./crypt
What would you like to encrypt?
foo
What is the salt?
rs
result: rsHt73tkfd0Rg
xena@fluttershy (linux) ~/code/nim/crypt
➜ ./crypt
What would you like to encrypt?
foobar
What is the salt?
rsrs
result: rsIAElMY6DoKI