How to code and decode strings with JS saving number of letters, without base64?

0

because I have the need to encode or decode string saving letter sizes. For example, if I have   "Este_es_un_string" and I would like to code it to give a result for example sT1M-0AA4eD .

I was thinking of something like deleting the vowels of the string, resulting in "st_s_n_strng" Well, it still works, but it would be something that could be repeated as for example calor = > clr , and for color would equal, would be clr

I would like to know how I could save a lot of characters in a string ... No need for security, just do not repeat it as heat and color ...

And then you can decode if possible to read the "encoded" string.

    
asked by Jonathan 23.10.2018 в 23:40
source

0 answers