Invalid length for a base-64 char array error during decryption of password using asp.net - ASP.NET,
You need to try following:-Base64 encoding encodes 6 bits per character. So the length of the string, multiplied by 6, must be divisible by 8. If it is not then it doesn't have enough bits to fill every byte and you'll get this exception. So good odds tha...