pretty new to c# and currently having a problem decrypting long passwords with an error of
Specified key is not a valid size for this algorithm <
Specified key is not a valid size for this algorithm
Two changes are required in the function public string DecryptString(string cipherText)
public string DecryptString(string cipherText)
var cipher = new byte[fullCipher.Length - IV.Length];
and
Buffer.BlockCopy(fullCipher, IV.Length, cipher, 0, fullCipher.Length - IV.Length);