开发者

Java based encrypter that produces only alphanumeric characters

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜