Charmed Quark Systems
Google
WWW CharmedQuark.com

Go Back   Charmed Quark Systems > General Discussion > CQC Support
Register FAQ Members List Calendar Mark Forums Read

CQC Support Report bugs, make wishes, discuss plans, ask questions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2006, 05:16 PM
pseigler's Avatar
pseigler pseigler is offline
Integration Partner
 
Join Date: May 2006
Posts: 259
Default XML Server Question

Does anyone have a good vb/c# component, or code, for a blowfish de/encryptor. i'm using one by Chilkatsoft.com and i can't get it to work. i keep getting a "Password is incorrect" xml message back.

i know my code is correct, thanks to Mark Stega!

thanks
__________________
~~~ B01nk
Reply With Quote
  #2  
Old 10-17-2006, 06:16 PM
Dean Roddey's Avatar
Dean Roddey Dean Roddey is online now
Administrator
 
Join Date: Aug 2002
Location: Mountain View, CA
Posts: 32,477
Default

And you are converting to UTF-8 and making sure it doesn't have a leading BOM?
__________________
Dean Roddey
Software Geek Extraordinaire
Reply With Quote
  #3  
Old 10-18-2006, 01:52 PM
pseigler's Avatar
pseigler pseigler is offline
Integration Partner
 
Join Date: May 2006
Posts: 259
Default

leading BOM? that may be my problem...i'm not a cryptography expert by any means...what is the BOM in the blowfish cypher.

i apologize in advance for my ignorance with this. thanks
__________________
~~~ B01nk
Reply With Quote
  #4  
Old 10-18-2006, 02:29 PM
Dean Roddey's Avatar
Dean Roddey Dean Roddey is online now
Administrator
 
Join Date: Aug 2002
Location: Mountain View, CA
Posts: 32,477
Default

The BOM is a Unicode thing. It's the Byte Order Mark, and is sometimes put out by text transcoders first, to let the later reader know what byte order the original data was in (since Unicode is a multi-byte character set.) You don't want that in there, and should remove it or supress it's generation if it is indeed being generated. If you look at the bytes of the UTF-8 encoded stuff and it starts with 0xFFFE or 0xFEFF, then that's the BOM.
__________________
Dean Roddey
Software Geek Extraordinaire
Reply With Quote
  #5  
Old 10-19-2006, 07:05 AM
pseigler's Avatar
pseigler pseigler is offline
Integration Partner
 
Join Date: May 2006
Posts: 259
Default

thanks for the info...

it appears that it was the Chilkat implemintation of blowfish. i used the CryptoSys API from http://www.cryptosys.net/dotnet.html and all seems well. when all else fells, go to the experts.

thanks
__________________
~~~ B01nk
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:38 PM.


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.