Cryptography - am I doing it right?

Started by
26 comments, last by Washu 10 years ago
So, first things first... for SSL in .net there is a perfectly valid implementation using SslStream's, which also happens to support TLS1.2. That's part of the .Net framework since 4.5.

Regarding the generation of your nonces, GUIDs aren't a remotely good source of random data, however the cryptographic RNG included in .net is.

Although why you don't just wrap the connection up in an SslStream and do your authentication that way, secure in the knowledge that someone else has done all the hard lifting of writing a properly secure cryptographic communications channel, is beyond me.

In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.

This topic is closed to new replies.

Advertisement