Right now i am making a library that will be performing common tasks in C# .Net. basically i am targetting beginners of C# so that they can take benefit from my library and use it to minimize the difficulties they are having. I am currently adding an encryption functionality into my library, and i have got some success. But my encryption criteria is not very difficult and complex. so that in future any hacker could break in through and decrypt important data (i.e., passwords etc). so please tell me how can i write my own complex criteria to encrypt passwords. This library is intended to be free and for beginners.
Thanks
I advise you don’t write your own encryption engine, without a very good reason, when there are many already out there – as a start have a look at the encryption API in Enterprise Library. It’s quite beginner friendly.
If you’re still determined to write your own, still look at Enterperise Library, and others like BouncyCastle, to see how other frameworks are put together – you’ll learn a lot and it’s the best way to try and improve what’s out there.