Skip to content
A set of examples on how to use various cryptographic and security features in .NET: asymmetric and symmetric encryption, digital signatures, hashing, random numbers
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Cryptography/CryptoExamples
.gitignore
README.md

README.md

cryptography-introduction-dotnet

A set of examples on how to use various cryptographic and security features in .NET: asymmetric and symmetric encryption, digital signatures, hashing, random numbers

References:

Random number generation: https://dotnetcodr.com/2016/10/05/generate-truly-random-cryptographic-keys-using-a-random-number-generator-in-net/

Hashing messages: https://dotnetcodr.com/2016/10/07/hashing-messages-using-various-hash-algorithms-in-net/

HMACs: https://dotnetcodr.com/2016/10/14/using-hmacs-to-authenticate-a-hash-in-net/

Passwords with salt: https://dotnetcodr.com/2016/10/17/how-to-hash-passwords-with-a-salt-in-net/

Password based key derivation functions: https://dotnetcodr.com/2016/10/18/hashing-passwords-with-a-password-based-key-derivation-function-in-net/

Overview of symmetric encryption in .NET: https://dotnetcodr.com/2016/10/21/overview-of-symmetric-encryption-in-net/

Overview of asymmetric encryption in .NET: https://dotnetcodr.com/2016/10/25/overview-of-asymmetric-encryption-in-net/

Storing asymmetric keys: https://dotnetcodr.com/2016/10/26/how-to-store-the-asymmetric-keys-in-the-windows-key-store-with-c/

Hybrid encryption; mixing symmetric and asymmetric: https://dotnetcodr.com/2016/11/02/mixing-asymmetric-and-symmetric-encryption-in-net-part-i/ https://dotnetcodr.com/2016/11/03/mixing-asymmetric-and-symmetric-encryption-in-net-part-ii/

Hybrid encryption; mixing symmetric, asymmetric and HMAC hash verification: https://dotnetcodr.com/2016/11/15/mixing-asymmetric-and-symmetric-encryption-with-hmac-hash-verification-net/

Overview of digital signatures: https://dotnetcodr.com/2016/11/17/an-overview-of-digital-signatures-in-net/

Hybrid encryption; mixing symmetric, asymmetric, HMACs and digital signatures: https://dotnetcodr.com/2016/11/24/mixing-asymmetric-and-symmetric-encryption-hmac-hash-verification-and-digital-signatures-in-net/

You can’t perform that action at this time.