Site Wide Message: (current site time 9/6/2010 11:29:02 AM EDT)
  • We want your input! One of our sponsors wants to know your opinion about development related issues. Click here to tell us what you think.
  • Are you an emerging/young developer (aged 18-30)? If so, would you like the chance to affect future developer tools and products?
    If so, then click here to give your feedback.
 

passURL

Print
Email
winzip icon
Submitted on: 7/6/2010 9:29:55 AM
By: Black_Berry 
Level: Beginner
User Rating: By 1 Users
Compatibility:VB 6.0

Users have accessed this code  2119 times.
 
 
     One of the problems of symmethric crypto-algorithms is the password, which should be sent by Sender and got by the Reciever. When you send to the Reciever the encrypted file, he(she) should know password, the algorithms that was used and the software. But how to keep the password in secret during the sending? That makes sending through Internet encrypted files rather difficult. This is a very simple source-code has a technology just like in my other programs: it works with PRNG and allows to get all attributes of encrypted file, based, for example on the link to this file in Internet. When the Sender created encrypted file, he(she) should know before this the address in Internet, where this encrypted file will be uploaded. This is avaliable for direct links only. For If the Sender is the owner of web-hosting, he(she) sets in this generator full path to file. This value must be set into the generator, after that the generator will creacte values, such as Software, List of algorithms and Password to this file. The Sender should use all these values to encrypt his(her) file. Software and other values may be modiefed as you wish, for example, you can add or remove any title of program in file "soft.txt". The same is about "algs.txt" and "str.txt". "algs.txt" contains of list of algorithms which can be used in the program, listed in "soft.txt". "str.txt" contains a string of symbols, which are necessary for creating password, so you can add or remove any symbol you wish, that is very important if you want to use in your password symbols from your alphabet. The Sender and the Reciever must have equivalent settings, even 1 symbol can be fatal. What should do the Sender: 1) Understand, what shall be the link to encrypted file. The link will be sent to the Reciever. 2) Set the link which doesn't exist yet into the generator 3) Get all values for encrypting file 4) Encrypt file basing on these values 5) Upload the encrypted file to Internet, the link must match the link that was set in the generator before What should do the Reciever: 1) Get the link that was sent 2) Set that link into the generator 3) Get the values for decrypting file (these values are equivalent as the Sender got before) 4) Decrypt file using these values You also can choose the amount of algorithmes in the program as in the text file "alg.txt". The amount of algorithmes is necessary when you use cascade encryption with 2 or more algorithmes, so if you want to encrypt file with 2 or more algorithmes, first of all you must see that the amount of algorithm strings in "algs.txt" is larger or the same as 2. Then, check the value "Amount of algs" any value you want, but not larger then the amount of strings in "algs.txt" - strings from "algs.txt" will be shown into the textbox according to pseudo-random generator. If you don't want the strings in "algs.txt" to be repeated in the generator, check the value "Don't repeat algorithmes in list". If you check the value in textbox more then the amount of strings in "algs.txt" and check the value "Don't repeat values" - you'll get the warning message "Unable to generate algorithm list. Not enough alg values in array. Please decrease the value of amount of algorithms to be generated without repeats or add new algorithms into the text file.") All settings in source-code are by default, including the amount of algs [1]. You can also set a hyperlink as it was described earlier in file "example.txt". UPD: Added new source-code for creating password to crypto-containers with fixed size. See readme for full information.
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 6 submission(s) by this author

 

 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments

 There are no comments on this submission.
 
Add Your Feedback!

Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.