forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


vdscrypt.dll and blowfish.dll

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
worsel
Newbie


Joined: 12 Nov 2004
Posts: 2

PostPosted: Fri Nov 12, 2004 7:06 pm    Post subject: vdscrypt.dll and blowfish.dll Reply with quote

I'm trying to convert an old program from VDS 3.5 to VDS 5.02 and have run into an issue with using vdscrypt.dll to replace blowfish.dll. Using vdscrypt to decrypt a file encrypted with the blowfish.dll works bueatifully exept that the first 8 characters are not correctly decrypted. The exact characters 'returned' seems to depend on the value of the initiallization vector. I was wondering if anyone had stumbled across the 'correct' initiallization vector to use to comrrectly decrypt blowfish.dll encrypted files.
TIA
Worsel
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Mon Nov 15, 2004 4:00 pm    Post subject: Reply with quote

Hello,

The original blowfish dll was written by Pablo; he later gave me the files and I made some updates to them. I really do not remember the initialization vector that was used. It also would not be possible to use the new vdscrypt or blowfish dll's to decrypt older files. The newer dll's also use MIME encoding/decoding after any encryption or decryption occurs. Also the older dll's in fact were not using standard encryption methods for blowfish thus there was 0 compatibility between what was outputted from the dll and other programs which also could use blowfish encryption; the new dlls now work with such programs (provided those programs can use base 64 mime too - php crypt functions can).


Process when encrypting now:

string > encrypted > mime encoded


Process when decrypting now:

encrypted string > mime decoded > decrypted > string



Previously with the older dll's it only did a decryption and encryption with no mime at all. Mime was added so the strings are compaible with online encryption (specifically php's crypt functions).


The only way really to get your app to work with the new dll is by also including the older version of the dll for backwards compatibility with older encrypted files.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group