Please suggest me a good string encryption method. Not XOR, it isn’t strong enough.
Can I use Base64 to represent the encrypted string, but without “=” on the string’s end? I can add it manually. Is it normal? That is a user will use Base64 without “=” in a program, and I will add it. I do not want to have a view with ‘=’, it isn’t nice 🙂
Thanks!!!
Here’s one encryption library: http://www.cityinthesky.co.uk/opensource/dcpcrypt
Yes, you can show a base64 string without the ‘=’ sign on the end. You just need to make sure that when you pass the value to a method the method is smart enough to add it back on before attempting the decrypt. This is a pretty common scenario.