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?
精彩评论