Invalid length for a base-64 char array error during decryption of password using asp.net - ASP.NET,

Invalid length for a base-64 char array error during decryption of password using asp.net - ASP.NET,

瀏覽:790
日期:2024-05-19
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...看更多