WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > BlowFish and DES Plugin
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
yehiaeg
Junior Member

Registered: Sep 2003
From:

BlowFish and DES Plugin

Hello,

i tried the blowfish and des plugin in the nsis archive, but i think there is something wrong in their algorithm cause i used a delphi component to encrypt a string with the same password i used in the nsis plugin and they returned different results, so anyone could check if the blowfish and des plugin returns accurate results?

Thanks In Advance
Yehia

__________________
Yehia

Quick Link | Report this post to a moderator | IP: Logged

yehiaeg is offline Old Post 11-26-2004 11:57 AM
Click Here to See the Profile for yehiaeg Click here to Send yehiaeg a Private Message Click Here to Email yehiaeg Find more posts by yehiaeg Add yehiaeg to your buddy list Edit/Delete Message Reply w/Quote
kichik
M.I.A.
[NSIS Dev, Mod]

Registered: Oct 2001
From: Israel

Are you sure you're using the same block cipher mode?

I can't find the plug-in you are talking about. Please provide a link.

__________________
NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius

Quick Link | Report this post to a moderator | IP: Logged

kichik is offline Old Post 11-26-2004 12:14 PM
Click Here to See the Profile for kichik Click here to Send kichik a Private Message Visit kichik's homepage! Find more posts by kichik Add kichik to your buddy list Edit/Delete Message Reply w/Quote
yehiaeg
Junior Member

Registered: Sep 2003
From:

i got the plug-in from this topic:
http://forums.winamp.com/showthread.php?postid=1299854

and i don't know the block cipher mode of this plug-in.

__________________
Yehia

Quick Link | Report this post to a moderator | IP: Logged

yehiaeg is offline Old Post 11-26-2004 01:45 PM
Click Here to See the Profile for yehiaeg Click here to Send yehiaeg a Private Message Click Here to Email yehiaeg Find more posts by yehiaeg Add yehiaeg to your buddy list Edit/Delete Message Reply w/Quote
kichik
M.I.A.
[NSIS Dev, Mod]

Registered: Oct 2001
From: Israel

That's not from the NSIS Archive.

Without source code for that plug-in, it's hard to say what's the difference between the two encryptions.

__________________
NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius

Quick Link | Report this post to a moderator | IP: Logged

kichik is offline Old Post 11-26-2004 01:50 PM
Click Here to See the Profile for kichik Click here to Send kichik a Private Message Visit kichik's homepage! Find more posts by kichik Add kichik to your buddy list Edit/Delete Message Reply w/Quote
yehiaeg
Junior Member

Registered: Sep 2003
From:

what are my options now? , i must encrypt a string before putting in the registry.

REALLY NEED HELP GUYS

__________________
Yehia

Quick Link | Report this post to a moderator | IP: Logged

yehiaeg is offline Old Post 11-26-2004 03:06 PM
Click Here to See the Profile for yehiaeg Click here to Send yehiaeg a Private Message Click Here to Email yehiaeg Find more posts by yehiaeg Add yehiaeg to your buddy list Edit/Delete Message Reply w/Quote
kichik
M.I.A.
[NSIS Dev, Mod]

Registered: Oct 2001
From: Israel

What do you mean? You have exactly two options. Your plug-in, and the other plug-in. Both encrypt and decrypt fine, right?

__________________
NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius

Quick Link | Report this post to a moderator | IP: Logged

kichik is offline Old Post 11-26-2004 03:09 PM
Click Here to See the Profile for kichik Click here to Send kichik a Private Message Visit kichik's homepage! Find more posts by kichik Add kichik to your buddy list Edit/Delete Message Reply w/Quote
yehiaeg
Junior Member

Registered: Sep 2003
From:

ok let's clear it up:
i need
1.a plugin for nsis to encrypt the string to the registry using blowfish or des or others.
2.a delphi component that later decrypt the string from the registry, i already have this one.

the problem is when the encryped text in the registry (encrypted using the plugin in the page above) is decrypted using the delphi component it doesnot match the correct string.

__________________
Yehia

Quick Link | Report this post to a moderator | IP: Logged

yehiaeg is offline Old Post 11-26-2004 03:25 PM
Click Here to See the Profile for yehiaeg Click here to Send yehiaeg a Private Message Click Here to Email yehiaeg Find more posts by yehiaeg Add yehiaeg to your buddy list Edit/Delete Message Reply w/Quote
kichik
M.I.A.
[NSIS Dev, Mod]

Registered: Oct 2001
From: Israel

Try decrypting with different modes. If none matches and the author of the plug-in doesn't respond, you'll have to write your own encryption plug-in. There are skeleton files in Contrib\ExDLL for C and Delphi.

__________________
NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius

Quick Link | Report this post to a moderator | IP: Logged

kichik is offline Old Post 11-26-2004 03:30 PM
Click Here to See the Profile for kichik Click here to Send kichik a Private Message Visit kichik's homepage! Find more posts by kichik Add kichik to your buddy list Edit/Delete Message Reply w/Quote
yehiaeg
Junior Member

Registered: Sep 2003
From:

ok, i never wrote a dll before, could you help a bit more, i have already the blowfish unit in delphi, anyway u could modify it to make compatible with nsis?

__________________
Yehia

Quick Link | Report this post to a moderator | IP: Logged

yehiaeg is offline Old Post 11-26-2004 05:14 PM
Click Here to See the Profile for yehiaeg Click here to Send yehiaeg a Private Message Click Here to Email yehiaeg Find more posts by yehiaeg Add yehiaeg to your buddy list Edit/Delete Message Reply w/Quote
kichik
M.I.A.
[NSIS Dev, Mod]

Registered: Oct 2001
From: Israel

No, I don't have Delphi.

__________________
NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius

Quick Link | Report this post to a moderator | IP: Logged

kichik is offline Old Post 11-26-2004 05:16 PM
Click Here to See the Profile for kichik Click here to Send kichik a Private Message Visit kichik's homepage! Find more posts by kichik Add kichik to your buddy list Edit/Delete Message Reply w/Quote
yehiaeg
Junior Member

Registered: Sep 2003
From:

Thanks anyway, will try to contact one of the developers

__________________
Yehia

Quick Link | Report this post to a moderator | IP: Logged

yehiaeg is offline Old Post 11-26-2004 05:25 PM
Click Here to See the Profile for yehiaeg Click here to Send yehiaeg a Private Message Click Here to Email yehiaeg Find more posts by yehiaeg Add yehiaeg to your buddy list Edit/Delete Message Reply w/Quote
saurabhAggarwal
Junior Member

Registered: Jan 2005
From: India

hi

I have one similar kind of problem. I need to encrypt data entered by user in my custom page and send it to server. At the server it needs to be decrypted. I don't want to use blowfish or des because the server doesn't know algo to decrypt data encrypted by blowfish or des plugin

any help

Quick Link | Report this post to a moderator | IP: Logged

saurabhAggarwal is offline Old Post 01-19-2005 06:31 AM
Click Here to See the Profile for saurabhAggarwal Click here to Send saurabhAggarwal a Private Message Click Here to Email saurabhAggarwal Find more posts by saurabhAggarwal Add saurabhAggarwal to your buddy list Edit/Delete Message Reply w/Quote
yehiaeg
Junior Member

Registered: Sep 2003
From:

actually i made a dll that can be used to encrypt or decrypt data (using the madcrypt delphi unit), i can send it to u if it helps

__________________
Yehia

Quick Link | Report this post to a moderator | IP: Logged

yehiaeg is offline Old Post 01-19-2005 08:10 AM
Click Here to See the Profile for yehiaeg Click here to Send yehiaeg a Private Message Click Here to Email yehiaeg Find more posts by yehiaeg Add yehiaeg to your buddy list Edit/Delete Message Reply w/Quote
saurabhAggarwal
Junior Member

Registered: Jan 2005
From: India

YES PLEASE MAY IT CAN HELP ME

Quick Link | Report this post to a moderator | IP: Logged

saurabhAggarwal is offline Old Post 01-19-2005 09:45 AM
Click Here to See the Profile for saurabhAggarwal Click here to Send saurabhAggarwal a Private Message Click Here to Email saurabhAggarwal Find more posts by saurabhAggarwal Add saurabhAggarwal to your buddy list Edit/Delete Message Reply w/Quote
saurabhAggarwal
Junior Member

Registered: Jan 2005
From: India

How can we make a dll, may I can make my own dll so that I can use my own algo for encryption and decryption. please also send your dll.

Quick Link | Report this post to a moderator | IP: Logged

saurabhAggarwal is offline Old Post 01-19-2005 09:48 AM
Click Here to See the Profile for saurabhAggarwal Click here to Send saurabhAggarwal a Private Message Click Here to Email saurabhAggarwal Find more posts by saurabhAggarwal Add saurabhAggarwal to your buddy list Edit/Delete Message Reply w/Quote
yehiaeg
Junior Member

Registered: Sep 2003
From:

ok here it is, it works as a nsis plugin:

!addplugindir "C:\blowfish"

blowfish::Encrypt $0 "anypassword" ;returns result in $8
blowfish:ecrypt $0 "amypassword" ;returns result in $8

Attachment: blowfish.zip
This has been downloaded 451 time(s).

__________________
Yehia

Quick Link | Report this post to a moderator | IP: Logged

yehiaeg is offline Old Post 01-19-2005 12:28 PM
Click Here to See the Profile for yehiaeg Click here to Send yehiaeg a Private Message Click Here to Email yehiaeg Find more posts by yehiaeg Add yehiaeg to your buddy list Edit/Delete Message Reply w/Quote
saurabhAggarwal
Junior Member

Registered: Jan 2005
From: India

Hi

I have already told you that I don't want to use blowfish. I want to encryt my data with my own algorithm so that it can be decrypted at the server. I this I need to create a plugin for this but I don't know how we can create plugin.

Quick Link | Report this post to a moderator | IP: Logged

saurabhAggarwal is offline Old Post 01-19-2005 12:56 PM
Click Here to See the Profile for saurabhAggarwal Click here to Send saurabhAggarwal a Private Message Click Here to Email saurabhAggarwal Find more posts by saurabhAggarwal Add saurabhAggarwal to your buddy list Edit/Delete Message Reply w/Quote
yehiaeg
Junior Member

Registered: Sep 2003
From:

well. don't know about creating your own encryption algorithm, it's always better to use blowfish or des, anyway what language you use at the server to decrypt the data?

__________________
Yehia

Quick Link | Report this post to a moderator | IP: Logged

yehiaeg is offline Old Post 01-19-2005 01:02 PM
Click Here to See the Profile for yehiaeg Click here to Send yehiaeg a Private Message Click Here to Email yehiaeg Find more posts by yehiaeg Add yehiaeg to your buddy list Edit/Delete Message Reply w/Quote
saurabhAggarwal
Junior Member

Registered: Jan 2005
From: India

to decrypt data at the server I am using CGI scripting (perl)

Quick Link | Report this post to a moderator | IP: Logged

saurabhAggarwal is offline Old Post 01-19-2005 01:57 PM
Click Here to See the Profile for saurabhAggarwal Click here to Send saurabhAggarwal a Private Message Click Here to Email saurabhAggarwal Find more posts by saurabhAggarwal Add saurabhAggarwal to your buddy list Edit/Delete Message Reply w/Quote
Takhir
Major Dude

Registered: Feb 2004
From: Moscow, Russia

I did it long ago, but authentication algorithm may not require encrypted password transfer. For md5 (for one network protocol, may be NDMP?) I received 16 bytes from server, created another 64 bytes using user entered SN (simple function) and sent them back to server. And I saw md5 plug-ins and samples in NSIS archive. Hope this help

Quick Link | Report this post to a moderator | IP: Logged

Takhir is offline Old Post 01-19-2005 04:27 PM
Click Here to See the Profile for Takhir Click here to Send Takhir a Private Message Visit Takhir's homepage! Find more posts by Takhir Add Takhir to your buddy list Edit/Delete Message Reply w/Quote
saurabhAggarwal
Junior Member

Registered: Jan 2005
From: India

I didn't tried that anyways I found the way
thanks

Quick Link | Report this post to a moderator | IP: Logged

saurabhAggarwal is offline Old Post 01-20-2005 06:51 AM
Click Here to See the Profile for saurabhAggarwal Click here to Send saurabhAggarwal a Private Message Click Here to Email saurabhAggarwal Find more posts by saurabhAggarwal Add saurabhAggarwal to your buddy list Edit/Delete Message Reply w/Quote
ilya31
Junior Member

Registered: Apr 2005
From:

Yehiaeg, how do I decrypt the result using your blowfish plug in?

Quick Link | Report this post to a moderator | IP: Logged

ilya31 is offline Old Post 11-17-2005 01:01 AM
Click Here to See the Profile for ilya31 Click here to Send ilya31 a Private Message Click Here to Email ilya31 Find more posts by ilya31 Add ilya31 to your buddy list Edit/Delete Message Reply w/Quote
Afrow UK
Moderator

Registered: Nov 2002
From: Shropshire, England

code:
blowfish::decrypt

Not sure how the parameters work though... why the $0 is there.

-Stu

__________________
afrowuk.co.uk

Quick Link | Report this post to a moderator | IP: Logged

Afrow UK is offline Old Post 11-17-2005 10:05 AM
Click Here to See the Profile for Afrow UK Click here to Send Afrow UK a Private Message Click Here to Email Afrow UK Visit Afrow UK's homepage! Find more posts by Afrow UK Add Afrow UK to your buddy list Edit/Delete Message Reply w/Quote
ilya31
Junior Member

Registered: Apr 2005
From:

I figured it out.

blowfish::Encrypt "secret" "password" ;returns encrypted result in $8
MessageBox MB_OK "Encrypted password is $8"
blowfish::decrypt $8 "password" ;returns decrypted \ result in $8
MessageBox MB_OK "Decrypted password is $8"

Yehiaeg, did you write this plugin yourself or you found it somewhere? It uses blowfish encryption algorith right? Did somebody ever verify that it does use blowfish? Thanks

Quick Link | Report this post to a moderator | IP: Logged

ilya31 is offline Old Post 11-17-2005 04:40 PM
Click Here to See the Profile for ilya31 Click here to Send ilya31 a Private Message Click Here to Email ilya31 Find more posts by ilya31 Add ilya31 to your buddy list Edit/Delete Message Reply w/Quote
torpark
Senior Member

Registered: Apr 2006
From:

If there is no source code included in this, it is absolutely 100% useless. You can't trust closed source cryptography. You don't know if it has a backdoor in it or not.

Quick Link | Report this post to a moderator | IP: Logged

torpark is offline Old Post 09-06-2006 03:33 AM
Click Here to See the Profile for torpark Click here to Send torpark a Private Message Click Here to Email torpark Visit torpark's homepage! Find more posts by torpark Add torpark to your buddy list Edit/Delete Message Reply w/Quote
ricky03
Junior Member

Registered: Apr 2009
From:

Source code

Hello,

Did someone have the source code of this plug-in?

Or witch plug-in do the same function and is secure?

Thanks for your response

Regards

Last edited by ricky03 on 04-14-2009 at 06:58 AM

Quick Link | Report this post to a moderator | IP: Logged

ricky03 is offline Old Post 04-14-2009 06:41 AM
Click Here to See the Profile for ricky03 Click here to Send ricky03 a Private Message Click Here to Email ricky03 Find more posts by ricky03 Add ricky03 to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 09:51 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > BlowFish and DES Plugin
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON