Originally posted by Trefad
Hey guys, this is my "first" program. It's not 100% my first program because I followed a tutorial by Hazard Edits on youtube, I just learned more.
This is a secure login using decryption and encryption so it's secure. The encrypted user names and passwords are stored in bin<
ebug<
ata.
You must login or register to view this content.
By the way this is my first post besides questions so yea.
I looked through the Encrypt Class File and I cleaned it up for you a bit and added Using statement which disposes of the CryptoService even when an exception is caught.
I also added a Try Catch Statement, which you should always use as it allows you to understand what happens if an exception occurs.
I added comments to the class file take a look at it to see what I did.
(Note: I would recommend Commenting what everything does just so you know as I have not before then got confused as to what parts of my code are doing, also I would recommend Placing your methods in regions so you can clean up your code).
Pastebin link
You must login or register to view this content.