Jump to content
  • Advertisement
Sign in to follow this  

[.net] Secure Encryption SDK/Tutorial?

This topic is 4310 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, Any of you guys know of any encryption sdks/libs for compatible with Visual C# 2005? If not, or even if so if the tut's good, any tutorials either that explain the technique with code examples?

Share this post

Link to post
Share on other sites
There are loads of classes in System.Security.Cryptography.

These are what you are looking for. However, no tutorial will help you unless you know exactly what each is doing, and how it becomes secure. A tutorial with 'now paste this code here' is useless.

It also depends entirely on what you want to do.

If you want flat out encryption, locking down data, then ideally you want to look into RSA crypto (asymmetric key encryption). However raw RSA is inappropriate, as it produces very large files. So you might want to use RSA to encrypt a symmetric key that is used to encrypt the rest of the file using Rijndael or DES (for example).

If you only want to sign some data (to validate it), then RSA is your tool again.

Look up asymmetric encryption / symmetric encryption for a start. These should give you a good starting point to plan how you implement your digital security.

Just remember digital security is *really hard*, and it's very easy to make a mistake that leaves it wide open and insecure.
Unfortunately, the only way to learn about it is to study up on the tools available. It will take a while.

Managing your crypto keys is also very important too. You could have the best security in the world, but make a mistake with your keys, and it's all useless.

Not to mention data protection in the event someone decompiles your code....

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!