Rank: Member
Joined: 10/27/2007(UTC) Posts: 3
|
Has anyone experienced errors when using the Triple DES Encryption encoding/decoding methods? When I try encrypting a string using [2]SettingsManager.SaveSettingEncrypted I seem to have issues decoding it using the SettingsManager.GetSettingEncrypted method. This decode method appears to spit back a "Bad Data" error message. I tried encrypting the following string "test". What would cause this error?[/2]
Thanks
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Depends on which version of the software you're running. We found in cases of very short messages in older BV 5 versions that sometime the encryption could throw errors. We corrected the error in a later service pack. Make sure you're running 5.6. We ran a bunch of unit tests on encryption for that version.
|
|
|
|
Rank: Member
Joined: 10/27/2007(UTC) Posts: 3
|
Hey Marcus,
I am running version 5.6. I tried entering a longer string for example "testtesttest" and still have the same issue. Any ideas would greatly be appreciated.
Thanks again
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
There is a source code test project for BVSoftware.Cryptography that you can run to verify the encryption and decryption of a specific string.
Was anything hand edited in the database? That can cause errors.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.