开发者

Java based encrypter that produces only alphanumeric characters

开发者 https://www.devze.com 2023-01-29 01:25 出处:网络
I know of this jasypt library: http://www.jasypt.org/index.html which works great but only provides Hexadecimal or Base64 for the encrypted out.

I know of this jasypt library:

http://www.jasypt.org/index.html

which works great but only provides Hexadecimal or Base64 for the encrypted out.

Neither works for me because Hexadecimal code is too long and Base64 cannot be passed safely on URL or as Javascript parameters. I am looking for something that pro开发者_如何转开发duce only lower/upper case letters a to z and number 0 to 9. Is there such a library?


Base32 (RFC). There're also variants of Base64 which replace the troublesome + and / characters: See the Wikipedia article or the RFC.


Why not URL encode the result from Base64 and transport that?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号