Forcing algorithm used for encryption

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
RDTelecom
Posts: 14
Joined: Mon 26 Aug 2013 13:52

Forcing algorithm used for encryption

Post by RDTelecom » Tue 10 Sep 2013 09:08

Hello,

I have seen that when the SSH client and server connection is established a list of supported encryption algorithms (ciphers) on both sides is available.
By default it looks that the first algorithm supported on both sides is selected for encryption, is there a way to force it in some way ?
I have blowfish-cbc, cast128-cbc, aes128-cbc, 3des-cbc supported and would like to compare performances.

Thanks for your replies.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Forcing algorithm used for encryption

Post by Dimon » Mon 23 Sep 2013 10:27

You can choose any cipher algorithm for using by setting the TScSSHClient.CiphersClient and CiphersServer properties, like this:

Code: Select all

ScSSHClient1.CiphersClient.AsString := 'blowfish-cbc';
ScSSHClient1.CiphersServer.AsString := 'blowfish-cbc';

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Forcing algorithm used for encryption

Post by Dimon » Mon 23 Sep 2013 10:29

RDTelecom wrote:I have blowfish-cbc, cast128-cbc, aes128-cbc, 3des-cbc supported and would like to compare performances.
The blowfish-cbc encryption algorithm is the fastest :)

RDTelecom
Posts: 14
Joined: Mon 26 Aug 2013 13:52

Re: Forcing algorithm used for encryption

Post by RDTelecom » Mon 23 Sep 2013 13:23

Thanks

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Re: Forcing algorithm used for encryption

Post by Dimon » Tue 24 Sep 2013 08:52

If any other questions come up, please contact me.

Post Reply