Versión en Batch del algoritmo de cifrado César, programada por Bolivianito.

@echo off
setlocal enabledelayedexpansion
set c=0
for %%a in (a b c d e f g h i j k l m n o p q r s t u v w x y z) do (
set "!C!=%%a"&set "%%a=!c!"
call:sum
)
set /p "texto=Ingrese un texto : "
set /p "desp=Ingrese un numero de desplazamiento : "
Set /p "=%texto%"text&call:cc text
for /l %%a in (0,1,%leght%) do (
call:procesa !texto:~%%a,1!
)
echo %resultado%
pause>nul
exit
:procesa
set /a j=!%1!+%desp%
if %j% GEQ 26 (set /a “j-=26″)
set resultado=%resultado%!%j%!
exit/b
:sum
set /a c+=1
exit/b
:cc
set /a "leght=%~z1-1"
exit/b