문제

I am trying to find out the internals of login control in asp.net. Does it uses some Public key encryption algorithm to exchange a key and then uses it for further communication as a symmetric key.

Also do we have our say in choosing the encryption algorithms like for ex i want to specifically use Diffie Hellman with login control. Is it possible and how can i achieve this?

도움이 되었습니까?

해결책

Disclaimer: I'm no cryptographer...

  • The Login controls use ASP.Net Membership along with Forms Authentication by default.
  • You can create your own auth mechanism
  • The default hash algorithm used in ASP.net Membership is SHA1. Yes, you have a choice. I've had to use MD5 in a migration project (if memory serves from phpBB to ASP.net) more than a few years back...
  • (see disclaimer) Elliptic Curve Diffie-Hellman (ECDiffieHellman) info

hth...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top