Random Password Generator by Samar

Status
Not open for further replies.

Mr.WT

Banned
Banned
2,640
2010
284
0
Hello,
i m learning VB so i crate Random Password Generator and i want to share with You Guys

Screenshot
nG42j.png


Scene Result
[SLIDE]http://i.imgur.com/Qwbqo.png[/SLIDE]
Code:
[URL]https://www.virustotal.com/file/9be95208881126c3cabdd4e46664b6c52af61d26f1d31a99fa2776a79ddad0af/analysis/1357726204/[/URL]
if u need any changes let me know :)

Download link
Code:
http://www.sendspace.com/file/nqu4il
 
Last edited:
4 comments
Here's another trivial way to do it in Python.. I've posted this before iirc.

PHP:
from random import randint

store = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrst"
p = ''.join([s[randint(0, 61)] for i in range(0, 8)])
 
@Gaurav

PHP :|

PHP:
<?php
 
// PHP Random Function
// Coded by Qarizma
 
function randGen($l = '10', $special = '', $prefix = '', $suffix = ''){
if ($special == '@') {
  $chars =  'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789``-=~!@#$%^&*()_+,./<>?;:[]{}\|';
  } else {
  $chars =  'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
  }
  $string = '';
  $maximum = strlen($chars) - 1;
  for ($i=0; $i < $l; $i++)
    $string .= $chars[rand(0, $maximum)];
  return $prefix.$string.$suffix;
}
 
// Usage (with special chars):
echo randGen('66', '@');
 
// Usage (without special chars):
echo randGen('66', '@');
 
// Usage (without special chars with pre and suffix):
echo randGen('66', '@', 'PREFIX', 'SUFFIX');
 
?>

Goodjob Samar, keep coding :)
 
Status
Not open for further replies.
Back
Top