Shorten a string with crc32 and radix. Try online.
npm i --save string-shorten
var shorten = require('string-shorten');
shorten('世界,你好'); // 'oTM]^'
shorten('Shorten a string with crc32 and radix.'); // 'e:::%'
Warning: base on crc32 algorithm which has collision probability: 216555
english words, 2
collisions.
MIT@hustcc.