SealedObjects and unsealing them
Hi there
I am busy coding the section of my program that will store the user's username and password in a SealedObject.
The original object is called UserDetails and has two Strings. One for username and the other for password. They are both just Strings - no special encoding or anything.
When I seal the object to a file and then unseal it again, the username come out the same as what I entered with no problems. When the password comes out, it appears with garbled characters.
I don't understand why this is happening as it is just two Strings.
Any help would be greatly appreciated.
Many kind regards,
Rachel

