How to generate random strings of various lengths for use as a password database in bulk user creation or any other purpose? It is relatively simple task with some VBScript skills. Of course it won’t be really random as VBScript can only generate pseudo-random numbers. That means that if someone will know the random seed and entropy used to generate the passwords it will be possible to reproduce the same set of passwords.
The script which I’m presenting here will generate random number and then use it as an index to the entropy array (i.e. array of all characters which could be used in the password). Number of characters in the password is also random between the PASS_LEN_MIN and PASS_LEN_MAX boundaries (inclusive). To make all passwords the same length, use the same number for PASS_LEN_MIN and PASS_LEN_MAX.
If security is the main concern than this utility shouldn't probably be used. Having said that here are some tips on how to improve passwords quality:
- expanding entropy – to add special characters
- mix entropy – entropy character order could be altered and then removed after the passwords are generated to make the process even less predictable
- use different seed – in order to make the random number sequence less predictable a user specified seed could be used. This can be done by passing a parameter to the Randomize function:
Randomize 767554354
Note: Provided that the script is unchanged using the same seed will always generate the same result file. By default there is no seed value passed to the Randomize function which will use current timestamp.
- random pick – generate more passwords than required and pick a random subset
By default the script will generate 100 passwords and will save them to the PasswordDictionary.txt file in the script working folder. Running the script from the Desktop will generate password file called PasswordDictionary.txt on the Desktop.
The Random String Generator utility can be downloaded from here.
very nice center
ReplyDeleteGreat... Excellent sharing.. This is very helpful for beginers. Read that provide me more enthusiastic. This helps me get a more knowledge about this topic. Thanks for this.
ReplyDeleteAndroid Training in Chennai
Awesome blog, really its nice to read and very useful to us... Java Training in Chennai | Dot Net Training in Chennai
ReplyDeleteThanks for sharing this interesting article..
ReplyDeleteITIL V3 Foundation Course in Chennai | ITIL Certification in Chennai | ITIL Foundation in Chennai | ITIL Certification Training in Chennai
Really very informative article..Thanks for sharing..
ReplyDeleteEmbedded System Training in Chennai | Embedded System Course in Chennai | No.1 Embedded Training Institute in Chennai | Online Embedded Training in Chennai
Thanks for your great information! Keep sharing.
ReplyDeleteFinal Year Project Center in Chennai | Best Project Center in Chennai | No.1 Final Year Project Center in Chennai | Best Project Center in Velachery
I have read your Blog..Its really awesome article,Thanks for sharing..
ReplyDeleteIEEE Project Center in Chennai | Final Year Project Center in Chennai | Diploma Project Center in Chennai
It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
ReplyDeleteJava Project Center in Chennai | Best Java Projects in Velachery
I have read your blog its very attractive and impressive. I like it your blog. No.1 IOS Training Institute in Velachery | Best Android Training Institute in Velachery | Core Java Training Institute in Chennai
ReplyDeleteWonderful article..Android Training Institute in Chennai | IOS Training in Chennai | Online Android Training in Velachery
ReplyDeleteI really understand your blog... Always keep rocking..No.1 Software Testing Training Institute in Chennai | Best Selenium Training Institute in Chennai | ISTQB Certification Center in Velachery
ReplyDeletevery informative blog. Helps to gain knowledge about new concepts and techniques. Thanks for posting information in this blog....
ReplyDeleteJava Training Center in Chennai | Best J2EE Training Center in Chennai | No.1 Java Training Institution in Velachery | Core Java Training in Chennai
Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
ReplyDeleterpa training in bangalore
rpa training in pune
rpa online training
best rpa training in bangalore
Whoa! I’m enjoying the template/theme of this website. It’s simple, yet effective. A lot of times it’s very hard to get that “perfect balance” between superb usability and visual appeal. I must say you’ve done a very good job with this.
ReplyDeletepython Online training in chennai
python Online training in bangalore
python interview question and answers
Your blog is really useful for me. Thanks for sharing this useful blog..thanks for your knwoledge share ... superb article ... searching for this content.for so long.
ReplyDeleteAWS Training Institute in Chennai | AWS Certification Training in Velachery | AWS Exam Center in Chennai | AWS Online Exams in Chennai
A IEEE project is an interrelated arrangement of exercises, having a positive beginning and end point and bringing about an interesting result in Engineering Colleges for a particular asset assignment working under a triple limitation - time, cost and execution. Final Year Project Domains for CSE In Engineering Colleges, final year IEEE Project Management requires the utilization of abilities and information to arrange, plan, plan, direct, control, screen, and assess a final year project for cse. The utilization of Project Management to accomplish authoritative objectives has expanded quickly and many engineering colleges have reacted with final year IEEE projects Project Centers in Chennai for CSE to help students in learning these remarkable abilities.
ReplyDeleteSpring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining the authors explore the idea of using Java in Big Data platforms.
Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai
Wonderful post!!
ReplyDeleteAndroid Training in Chennai | Certification | Mobile App Development Training Online | Android Training in Bangalore | Certification | Mobile App Development Training Online | Android Training in Hyderabad | Certification | Mobile App Development Training Online | Android Training in Coimbatore | Certification | Mobile App Development Training Online | Android Training in Online | Certification | Mobile App Development Training Online
Awesome blog. I enjoyed reading your articles. This is truly a great read for me.
ReplyDeleteAngular JS Training in Chennai | Certification | Online Training Course | Angular JS Training in Bangalore | Certification | Online Training Course | Angular JS Training in Hyderabad | Certification | Online Training Course | Angular JS Training in Coimbatore | Certification | Online Training Course | Angular JS Training | Certification | Angular JS Online Training Course
How to Hack Wi-Fi password in PC with easy steps: In this how to crack WiFi tutorial, we will introduce you to common techniques used. Wifi Cracko
ReplyDeleteThese Christmas wishes for clients are just right for showing gratitude for your customers as well as letting them know they are important to you Christmas For Husband
ReplyDelete