I've been messing around a bit with the help of AI and managed to create a program that receives text directly
from the keyboard, or it can also receive it from a copy and paste, and converts it to a "coded language" or perhaps
you could call it "encrypted"
It supports up to 60 lines of text (although it can be manipulated in prg).
Perhaps this may seem trivial to some, but for me, as I'm not a Systems Engineer,
but rather a self-taught programmer, I feel very happy.
I'm sharing the code with you because I've learned a lot from this Forum over the years,
and I want to give back to you what I discover.
The characters accepted for encoding are letters and numbers; everything else is preserved in its original form,
such as "úñ#!+óÉ,;:Á-*/?%\, etc.
Greetings to all.
Louis
P.S. - By default, it saves RECORDING_ENCODED.TXT and RECORDING_DECODED.TXT inside the working folder.
Svool uirvmwh lu SNT
R'ev yvvm nvhhrmt zilfmw z yrg drgs gsv svok lu ZR zmw nzmztvw gl xivzgv z kiltizn gszg ivxvrevh gvcg wrivxgob
uiln gsv pvbylziw, li rg xzm zohl ivxvrev rg uiln z xlkb zmw kzhgv, zmw xlmevigh rg gl z "xlwvw ozmtfztv" li kviszkh
blf xlfow xzoo rg "vmxibkgvw"
Rg hfkkligh fk gl 39 ormvh lu gvcg (zogslfts rg xzm yv nzmrkfozgvw rm kit).
Kviszkh gsrh nzb hvvn girerzo gl hlnv, yfg uli nv, zh R'n mlg z Hbhgvnh Vmtrmvvi,
yfg izgsvi z hvou-gzftsg kiltiznnvi, R uvvo evib szkkb.
R'n hszirmt gsv xlwv drgs blf yvxzfhv R'ev ovzimvw z olg uiln gsrh Ulifn levi gsv bvzih,
zmw R dzmg gl trev yzxp gl blf dszg R wrhxlevi.
Estuve traveseando un poco con ayuda de la AI y logré hacer un programa que recibe un escrito
directamente del teclado, o lo puede también recibir de un copia y pega, y lo traspasa a un
"lenguaje codificado" o quizás pueda decirse "encriptado"
Soporta hata 60 líneas de texto (aunque se lo puede manipular en el prg).
Quizás para alguien pueda ser una trivialidad, pero para mí que no soy un Ing.de Sistemas,
sino un programador autodidacta, me siento muy feliz.
Os comparto el código, porque de éste Forum he aprendido bastante, durante algunos años ya,
y quiero devolveros lo que vaya descubriendo.
Los caracteres que acepta para codificar son letras y números, todo lo demás se respeta su
forma original, como "úñ#!+óÉ,;:Á-*/?%\ etc.
Saludos a todos.
Louis
P.D.- Graba por default GRABADO_CODIFICADO.TXT y GRABADO_DECODIFICADO.TXT dentro de la carpeta
de trabajo.
Sloz znrtlh wvo SNT
Vhgfev gizevhvzmwl fm klxl xlm zbfwz wv oz ZR b oltié szxvi fm kiltiznz jfv ivxryv fm vhxirgl
wrivxgznvmgv wvo gvxozwl, l ol kfvwv gznyrém ivxryri wv fm xlkrz b kvtz, b ol gizhkzhz z fm
"ovmtfzqv xlwrurxzwl" l jfraáh kfvwz wvxrihv "vmxirkgzwl"
Hlkligz szgz 39 oímvzh wv gvcgl (zfmjfv hv ol kfvwv nzmrkfozi vm vo kit).
Jfraáh kziz zotfrvm kfvwz hvi fmz girerzorwzw, kvil kziz ní jfv ml hlb fm Rmt.wv Hrhgvnzh,
hrml fm kiltiznzwli zfglwrwzxgz, nv hrvmgl nfb uvora.
Lh xlnkzigl vo xówrtl, klijfv wv éhgv Ulifn sv zkivmwrwl yzhgzmgv, wfizmgv zotfmlh zñlh bz,
b jfrvil wveloevilh ol jfv ezbz wvhxfyirvmwl.