commit c9a04fcd66b3c12b12cc5c8a89ee7efcd3bedc7a Author: Christine Dodrill Date: Wed Jun 3 16:01:51 2015 -0700 diff --git a/crypt.nim b/crypt.nim new file mode 100644 index 0000000..d65f539 --- /dev/null +++ b/crypt.nim @@ -0,0 +1,10 @@ +import posix + +{.passL: "-lcrypt".} + +echo "What would you like to encrypt? " +var password: string = readLine stdin +echo "What is the salt? " +var salt: string = readLine stdin + +echo "result: " & $crypt(password, salt)