I want to store some passwords in a database.
I want to store some passwords in a database.
I encrypt the password using a simple xor encryption. As soon as I save the encrypted password to the database the password is truncated at, as it seems to me, random length.
Using plain text files everything works just fine, no truncation.
Am I missing something obvious here?
I don't need any fancy encryption routine, the passwords are not very sensitive :)
Any links/tips would be appreciated.
I encrypt the password using a simple xor encryption. As soon as I save the encrypted password to the database the password is truncated at, as it seems to me, random length.
Using plain text files everything works just fine, no truncation.
Am I missing something obvious here?
I don't need any fancy encryption routine, the passwords are not very sensitive :)
Any links/tips would be appreciated.
Comments
Post a Comment