![]() |
|
|||||||
| CQC Support Report bugs, make wishes, discuss plans, ask questions |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
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 |
|
#2
|
||||
|
||||
|
And you are converting to UTF-8 and making sure it doesn't have a leading BOM?
__________________
Dean Roddey Software Geek Extraordinaire |
|
#3
|
||||
|
||||
|
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 |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|