Re: SslStream and CipherAlgorithm



banduraj@xxxxxxxxx wrote:
Maybe someone can educate me, but how is the CipherAlgorithm set for
an SslStream in .NET 2.0.

I noticed you can get the CipherAlgorithm from an SslStream property,
but how do you set it, or at least require a specific algorithm? Is
this decided by the Cert?

The client and server negotiate the cipher algorithm. They pick the
_weakest_ algorithm that they both support. This sounds wrong, until you
realise that each of them have got a list of "appropriate" cipher
algorithms, so whatever algorithms they have in common are "appropriate" -
so the weakest algorithm is generally the fastest one that is still
appropriate.

Alun.
~~~~
[Please don't email posters, if a Usenet response is appropriate.]
--
Texas Imperial Software | Find us at http://www.wftpd.com or email
23921 57th Ave SE | alun@xxxxxxxxxx
Washington WA 98072-8661 | WFTPD, WFTPD Pro are Windows FTP servers.
Fax/Voice +1(425)807-1787 | Try our NEW client software, WFTPD Explorer.


.



Relevant Pages

  • Re: cipher program
    ... > Both the program code and the cipher are, well, atrocious. ... > Determining that 16 bits of entropy is all the passphrase does. ... >> might be achieved with a more complex algorithm, ... > It's periodic XOR with a fixed period of 2^16 bytes. ...
    (sci.crypt)
  • Re: Enigma machine strenght using a computer
    ... cipher with rotors that spin backwards, forwards, stop and start based ... Is this a good way to get security on modern ... encryption less error-prone and they were a cost effective way to get ... case) than not since a wider base uses the same algorithm. ...
    (sci.crypt)
  • Re: Enigma machine strenght using a computer
    ... cipher with rotors that spin backwards, forwards, stop and start based ... Is this a good way to get security on modern ... encryption less error-prone and they were a cost effective way to get ... case) than not since a wider base uses the same algorithm. ...
    (sci.crypt)
  • Re: Enigma machine strenght using a computer
    ... cipher with rotors that spin backwards, forwards, stop and start based ... Is this a good way to get security on modern ... encryption less error-prone and they were a cost effective way to get ... case) than not since a wider base uses the same algorithm. ...
    (sci.crypt)
  • Re: New lightweight block cipher algorithm
    ... the algorithm, developed in other source languages and platforms. ... TEA is a very interesting cipher with lots of real ... In each round, the output of the round function on a sub block ...
    (sci.crypt)