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)