Hello, Developer22!
What code do you use to encrypt that value? What output do you get from
Encrypt method? What is the length of that output?
--
With best regards, Vadym Stetsiak.
Blog:
http://vadmyst.blogspot.com
You wrote on Mon, 17 Sep 2007 12:30:06 -0500:
D> I'm hoping someone can help. I know this probably isn't THE correct
D> place, but I'm not sure where to turn. I'm using the .NET Enteprise
D> Library's
D> Cryptographer class.
D> I am encoding a simple 9 digits and constantly getting this error
D> when decoding. It worked fine for a while.
D> Error:
D> Invalid length for a Base-64 char array.
D> Code:
D> Line 29: public static string DecryptString( string val )
D> Line 30: {
D> Line 31: return Cryptographer.DecryptSymmetric( "RijndaelManaged",
D> val );
D> Line 32: }
D> The value:
D> 123456789
D> Can someone please help? I've been Googling, but not coming up with
D> anything.
D> Thank you for your time!