Answers for "password generator"

65

How to download windows 10 ISO

Goto https://www.microsoft.com/en-in/software-download/windows10
Press 'ctrl + shift + i' or right click anywhere on website and select inspect element.
A new side window will open. Select 'Toggle device emulation' on top left of the new window.
Reload the webpage. Now it will be opened as in a android device. 
Now Select the windows 10 ISO and prefered language and download.
Posted by: Guest on January-07-2021
1

password manager

Last Pass
https://lastpass.wo8g.net <-- Affilate
https://lastpass.com <-- no love
Posted by: Guest on February-01-2021
8

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)
Posted by: Guest on May-07-2021
1

strong password generator

function getpass() {
    var chars = "0123456789~!@#$%^&*()_+}{[]|abcdefghikjlmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
    var pass = "";
    var passLength = 16;

    for (var i = 0; i < passLength; i++) {
        var randPass = Math.floor(Math.random() * chars.length);
        pass += chars.substring(randPass, randPass+1);
    }
    document.getElementById('strong_pass').value = pass;
}

function copyToClipboard() {
    var copyText = document.getElementById('strong_pass');
    var copyPass = document.getElementById('strong_pass').value;
    var fa_iocn = document.getElementsByClassName('fa');

    if (copyPass == "") {
        alert("Please Generate Password");
    }else {
        $(fa_iocn).removeClass("fa-copy");
        $(fa_iocn).addClass("fa-check");
        $("#strong_pass").addClass("focus_success");
        alert("Password Copied Successfully")
    }
    copyText.select();
    copyText.setSelectionRange(0, 99999);
    document.execCommand("copy");
}

$(".strong_pass_generator #generatorbutton").click(function(){
    $(".strong_pass_generator i").removeClass("fa-check");
    $(".strong_pass_generator i").addClass("fa-copy");
});
Posted by: Guest on September-19-2021
0

password generator

// Password generator
#include <iostream>
#include <string>
#include <algorithm>
#include <sstream>  

std::string password_gen() {
  std::string result;
  while (!any_of(result.begin(), result.end(), ::islower) ||
         !any_of(result.begin(), result.end(), ::isupper) ||
         !any_of(result.begin(), result.end(), ::isdigit)) {
    std::stringstream ss;
    int length = rand() % 15 + 6;
    for (int i = 0; i < length; i++) {
      unsigned randomChar = rand() % 62;
      if (randomChar < 26)
        ss << char(randomChar + 'a');
      else if (randomChar < 52)
        ss << char(randomChar - 26 + 'A');
      else if (randomChar < 62)
        ss << char(randomChar - 52 + '0');
      result = ss.str();
    }
  }
  return result;
}

using namespace std;

int main() {

    cout<<"New random password = " << password_gen();
}
Posted by: Guest on October-04-2021
-2

password generator

import string
from random import *

characters = string.ascii_letters + string.digits
Password =  "".join(choice(characters) for x in range(randint(8, 16)))
print(Password)
Posted by: Guest on July-11-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language