DekGenius.com
JAVASCRIPT
password generator
public string CreatePassword ( int length )
{
const string valid = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890<>.,/@#$%^&*()_+!:" ;
StringBuilder res = new StringBuilder ( ) ;
Random rnd = new Random ( ) ;
while ( 0 < length-- )
{
res. Append ( valid[ rnd. Next ( valid. Length ) ] ) ;
}
return res. ToString ( ) ;
}
password generator
function passwordGenerator ( length ) {
const chars =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890123456789012345678901234567890123456789!@#$%&*()_-+=!@#$%&*()_-+=!@#$%&*()_-+=!@#$%&*()_-+=" ;
const password = [ ... Array ( length) ] . reduce ( ( accumulator, _element ) => {
const randomIndex = Math . floor ( Math . random ( ) * chars. length ) ;
return accumulator + chars[ randomIndex] ;
} , "" ) ;
return password;
}
password generator
function CreatePassword ( PassLenght ) {
const Lenght = parseInt ( PassLenght )
const Charecters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
let Password = "" ;
for ( var i = 0 , n = Charecters . length ; i < Lenght ; ++ i) { Password += Charecters . charAt ( Math . floor ( Math . random ( ) * n) ) ; }
console . log ( Password )
return Password ;
}
CreatePassword ( 18 )
online password generator
function passwordGenerator ( length ) {
const chars =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890123456789012345678901234567890123456789!@#$%&*()_-+=!@#$%&*()_-+=!@#$%&*()_-+=!@#$%&*()_-+=" ;
const password = [ ... Array ( length) ] . reduce ( ( accumulator, _element ) => {
const randomIndex = Math . floor ( Math . random ( ) * chars. length ) ;
return accumulator + chars[ randomIndex] ;
} , "" ) ;
return password;
}
function CreatePassword ( PassLenght ) {
const Lenght = parseInt ( PassLenght )
const Charecters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
let Password = "" ;
for ( var i = 0 , n = Charecters . length ; i < Lenght ; ++ i) { Password += Charecters . charAt ( Math . floor ( Math . random ( ) * n) ) ; }
console . log ( Password )
return Password ;
}
CreatePassword ( 18 )
random password generator
function rand_string ( $length ) {
$str = "" ;
$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" ;
$size = strlen ( $chars ) ;
for ( $i = 0 ; $i < $length; $i++ ) {
$str . = $chars[ rand ( 0 , $size - 1 ) ] ;
}
return $str;
}
$mypass = rand_string ( 10 ) ;
password generator
Math . random ( )
. toString ( 36 )
. slice ( - 8 ) ;
random password generator
from random import randint
def create_random_chars ( charCount) :
return "" . join ( chr ( randint ( 33 , 126 ) ) for i in range ( charCount) )
print ( create_random_chars ( 10 ) )
# Use Source to compile
password generator
import random
name = input ( 'What is your name? (It will be used in the password) ' )
sletters = [ 'a' , 'b' , 'c' , 'd' , 'e' , 'f' , 'g' , 'h' , 'i' , 'j' , 'k' , 'l' , 'm' , 'n' , 'o' , 'p' , 'q' , 'r' , 's' , 't' , 'u' , 'v' , 'w' , 'x' , 'y' , 'z' ]
bletters = [ 'A' , 'B' , 'C' , 'D' , 'E' , 'F' , 'G' , 'H' , 'I' , 'J' , 'K' , 'L' , 'M' , 'N' , 'O' , 'P' , 'Q' , 'R' , 'S' , 'T' , 'U' , 'V' , 'W' , 'X' , 'Y' , 'Z' ]
numbers = [ '1' , '2' , '3' , '4' , '5' , '6' , '7' , '8' , '9' ]
others = [ '`' , '~' , '!' , '@' , '#' , '$' , '%' , '^' , '&' , '*' ]
rs = random. choice ( sletters)
rs2 = random. choice ( sletters)
rb = random. choice ( bletters)
rb2 = random. choice ( bletters)
rn = random. choice ( numbers)
rn2 = random. choice ( numbers)
ro = random. choice ( others)
ro2 = random. choice ( others)
password = name + rs + rb + rs2 + rn + ro + rn2 + rb2 + ro2
print ( password)
Password Generator
import random
import string
total = string. ascii_letters + string. digits + string. punctuation
length = 16
password = "" . join ( random. sample ( total, length) )
print ( password)
password generator
#python
from random import randint
import pyperclip
allSymbols = [ 'a' , 'b' , 'c' , 'd' , 'e' , 'f' , 'g' , 'h' , 'i' , 'j' , 'k' , 'l' , 'm' , 'n' , 'o' , 'p' , 'q' , 'r' , 's' , 't' , 'u' , 'v' , 'w' , 'x' , 'y' , 'z' , 'A' , 'B' , 'C' , 'D' , 'E' , 'F' , 'G' , 'H' , 'I' , 'J' , 'K' , 'L' , 'M' , 'N' , 'O' , 'P' , 'Q' , 'R' , 'S' , 'T' , 'U' , 'V' , 'W' , 'X' , 'Y' , 'Z' , '1' , '2' , '3' , '4' , '5' , '6' , '7' , '8' , '9' , '0' , '- ' , '=' , '`' , '~' , '!' , '@' , '#' , '$' , '%' , '^' , '&' , '*' , ' (' , ' )' , ' ¹' , '²' , '³' , '⁴' , '⁵' , '⁶' , '⁷' , '⁸' , '⁹' , '⁰' , '¡' , '¤' , '€' , '¼' , '½' , ' ¾' , '‘' , '’' , 'æ' , '©' , '®' , 'þ' , '«' , '»' , '"' , "'" , 'ß' , '§' , 'ð' , 'œ' , 'Æ' , 'Œ' , 'ø' , '¶' , 'Ø' , '°' , '¿' , '£' , '‘¥' , '÷' , '×' , '/' , '?' ]
password = ' '
lenSymbols = len ( allSymbols)
recycleMe = int ( input ( "how much characters do you want your password to be? " ) )
for i in range ( recycleMe) :
password = password + allSymbols[ randint ( 0 , lenSymbols) ]
print ( password)
#pyperclip. copy ( password)
#print ( "copied to clipboard" )
password generator
const generate = { password : function ( length ) { var password = '' ; let allSymbols = [ 'a' , 'b' , 'c' , 'd' , 'e' , 'f' , 'g' , 'h' , 'i' , 'j' , 'k' , 'l' , 'm' , 'n' , 'o' , 'p' , 'q' , 'r' , 's' , 't' , 'u' , 'v' , 'w' , 'x' , 'y' , 'z' , 'A' , 'B' , 'C' , 'D' , 'E' , 'F' , 'G' , 'H' , 'I' , 'J' , 'K' , 'L' , 'M' , 'N' , 'O' , 'P' , 'Q' , 'R' , 'S' , 'T' , 'U' , 'V' , 'W' , 'X' , 'Y' , 'Z' , '1' , '2' , '3' , '4' , '5' , '6' , '7' , '8' , '9' , '0' , '- ' , '=' , '`' , '~' , '!' , '@' , '#' , '$' , '%' , '^' , '&' , '*' , ' (' , ' )' , ' ¹' , '²' , '³' , '⁴' , '⁵' , '⁶' , '⁷' , '⁸' , '⁹' , '⁰' , '¡' , '¤' , '€' , '¼' , '½' , ' ¾' , '‘' , '’' , 'æ' , '©' , '®' , 'þ' , '«' , '»' , '"' , "'" , 'ß' , '§' , 'ð' , 'œ' , 'Æ' , 'Œ' , 'ø' , '¶' , 'Ø' , '°' , '¿' , '£' , '‘¥' , '÷' , '×' , '/' , '?' ] ; for ( let step = 0 ; step < length; step++ ) { password = password + allSymbols[ Math . round ( Math . random ( ) * allSymbols. length ) ] } ; return password; copy ( password) } }
password generator
function password ( length, base64 ) {
let ret= '' ; for ( let i= 0 ; i< length; i++ ) { ret+= Math . round ( Math . random ( ) * 36 ) . toString ( 36 ) }
return base64? ( btoa ( ret) ) : ret
}
password genarator
Use this : https: / / pass.jassy.in /
Password generator
function createRandomPassword ( ) {
$chars = "abcdefghijkmnopqrstuvwxyz023456789" ;
srand ( ( double) microtime ( ) * 1000000 ) ;
$i = 0 ;
$pass = '' ;
while ( $i <= 7 ) {
$num = rand ( ) % 33 ;
$tmp = substr ( $chars, $num, 1 ) ;
$pass = $pass . $tmp ;
$i++ ;
}
return $pass;
}
© 2022 Copyright:
DekGenius.com