Home
Name Modified Size Downloads / Week Status
Readme.txt 2010-02-01 2.2 kB 0
Encryptor 2.0.dll 2010-02-01 13.3 kB 0
Totals: 2 Items   15.6 kB
The dll knows serveral commands. First, before you begin, you will have to choose the encryption method, MD5 or SHA1. This can be done by declaring one of the classess. By declaring the SHA1Crypt class you will be using the SHA1 encryption. By declaring the MD5Crypt class you will be using the MD5 encryption. Both of the classess know the same methods. You can use these methods in two ways: 1. Set values before calling the Encrypt/Decrypt method. 2. Set values while calling the Encrypt/Decrypt method. For the first option. Call the SetValues method: SHA1Crypt.SetValues(string password, int hashes, KeySize keysize); - The password will be used to encrypt the input value, this can be any ASCII string. - The hashes is an int wich represents the number of times the input should be hased. - Keysize is the keylength in bytes, the dll supports 128 Bits, 192 Bits and 256 Bits, These are set in an enum value called KeySize. Once set you can go calling the Encrypt/Decrypt methods: string output = SHA1Crypt.Encrypt(string input); string output = SHA1Crypt.Decrypt(string input); This is all you hace to do, the method will return an encrypted or decrypted string. Now for the second option: For this one you will just have to call the Encrypt/Decrypt method string output = SHA1Crypt.Encrypt(string input, string password, int hashes, Keysize keysize); string output = SHA1Crypt.Decrypt(string input, string password, int hashes, Keysize keysize); - The password will be used to encrypt the input value, this can be any ASCII string. - The hashes is an int wich represents the number of times the input should be hased. - Keysize is the keylength in bytes, the dll supports 128 Bits, 192 Bits and 256 Bits, These are set in an enum value called KeySize. But in this way you will have to add the password, number of hashes and the keysize every time you use the method. Further, the usercontrols for visual studio are included in the library, properties for encryption are included in the controls. The button is made public so you can add an click event to the button in your own project. Good luck and thanks for using!!! Greetings, Incapable
Source: Readme.txt, updated 2010-02-01

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies
X

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

No, thanks