How to shorten a url in a mathematical approach

I am exploring the possibility of shortening / encrypting a URL that will contain from 150 to 250 characters up to 12 characters long using an algorithm. Initially, I doubt it is possible, but I wanted to use the great minds of StackOverflow :)

the algorithm should be one that can be written in classic asp, sql, C #, vb or foxpro or in another language.

Is this even possible without a centralized approach to the database?

I read here that AES in CFB mode will make the stream cipher, and the output length will be the same as the input length. Is there a way to cut it even further?

+3
source share
4

, , - " ". , " " . :

lleAgByD2rREjzqj85g68207NsjspdINfPRNvU9udgWw7y4qXh0EQLSy0yEi2

, :

one zero one one zero one zero zero one zero one one zero one

. , , , . .

, 150 250 , 12 . , "" .

.

+4

? , , URL- , . , , , , .

+1

, URL- URL- - (, tinyurl). ? , URL- , URL-. URL- . , , .

+1

, . . , () , , ( ).

, ZIP RAR,

+1

Source: https://habr.com/ru/post/1761580/


All Articles