So: if this is how not to do it, then how do you do it?
David Millington

What you should do is actually pretty obvious: read the cryptographic specifications, not Microsoft articles about how to hack cryptographic libraries. Because you can always write something that is syntactically correct but cryptographically nonsensical at the same time.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.