• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

jbergman
#1 Posted : Thursday, April 15, 2010 8:13:08 AM(UTC)
jbergman

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
Marcus
#2 Posted : Thursday, April 15, 2010 7:12:42 PM(UTC)
Marcus

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.
jbergman
#3 Posted : Sunday, April 18, 2010 11:28:12 AM(UTC)
jbergman

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
Marcus
#4 Posted : Wednesday, April 21, 2010 2:59:51 PM(UTC)
Marcus

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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012