M
Mike Carr
I followed the Guide "How To: Create an Encryption Library" of Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication. I kept getting an error here:
decStream.FlushFinalBlock() whenever the text to Decrypt was under 7 characters. Is there a minimum text length that TripleDes can Encrypt/Decrypt?
public byte[] Decrypt(byte[] bytesData, byte[] bytesKey)
{
.... decStream.FlushFinalBlock(); <=== HERE...
} //end Decrypt
decStream.FlushFinalBlock() whenever the text to Decrypt was under 7 characters. Is there a minimum text length that TripleDes can Encrypt/Decrypt?
public byte[] Decrypt(byte[] bytesData, byte[] bytesKey)
{
.... decStream.FlushFinalBlock(); <=== HERE...
} //end Decrypt