T
ThunderMusic
Hi,
I encrypted a string using the RijndaelManaged class.
When decrypted, it happens that the string is longer then the original, but
the exceeding chars are nothing (string.chars(indexOfExceedingChars) is
nothing)
To correct the problem, I used SomeOtherStringVar = trim(DecryptedString)
The problem is the following: Trim(DecryptedString) returns the string
without the exceeding chars, but SomeOtherStringVar still contains them
after the assignation. Should they not be removed?!?
I dont understand, can someone enlight me please?
Thanks
P.S. When putting the var in the Watch Window I see this value :
"DecryptedStringValue <---No " char at the end of the string
I encrypted a string using the RijndaelManaged class.
When decrypted, it happens that the string is longer then the original, but
the exceeding chars are nothing (string.chars(indexOfExceedingChars) is
nothing)
To correct the problem, I used SomeOtherStringVar = trim(DecryptedString)
The problem is the following: Trim(DecryptedString) returns the string
without the exceeding chars, but SomeOtherStringVar still contains them
after the assignation. Should they not be removed?!?
I dont understand, can someone enlight me please?
Thanks
P.S. When putting the var in the Watch Window I see this value :
"DecryptedStringValue <---No " char at the end of the string