Base62x icon indicating copy to clipboard operation
Base62x copied to clipboard

base62x SIMPLY ADDS an 'x' AT THE AND when encoding strings composed only of numbers or letters

Open Heartbreaker16 opened this issue 1 year ago • 3 comments

Which makes it cannot replace base64.

Heartbreaker16 avatar Jan 27 '25 00:01 Heartbreaker16

Could you please give what kind of problem you encountered with Base62x? and what's your suggestion to modify the method by adding 'x' for alphanumeric string?

wadelau avatar Feb 03 '25 09:02 wadelau

Could you please give what kind of problem you encountered with Base62x? and what's your suggestion to modify the method by adding 'x' for alphanumeric string?

某些不方便明码传输和显示的敏感字符串,编码后如果没有改变原字符本身而只是末尾增x,这起不到脱敏作用。 作为应用端开发者我给不了什么建设性的建议,我最多就换个其他的加密方案,甚至是用回base64

Heartbreaker16 avatar Feb 03 '25 11:02 Heartbreaker16

Base62x and/or Base64 aims to ENCODE something not to ENCRYPT something. To hide something or keep secret from public, what you need is some kind of encryption scheme, not any kind of encoding method.

We all are occasionally confused by these two sets of similar words: Encode and Encrypt. Suppose diving into encryption, more details could be read from https://ufqi.com/blog/encryption-and-message-digest/ .

Image

wadelau avatar Feb 04 '25 09:02 wadelau