Skip to content

QizaiMing/randompass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Randompass

A random secure password generator
Live Demo
Screenshot-from-2020-10-04-17-22-49

Features

This idea was inspired by a series of videos on passwords made by Computerphile on their youtube channel. The general idea is to create passwords that are easy for humans to remember but hard for computers to crack. We really encourage you to watch the videos displayed on the website as they will explain why we need to pay more attention to the way we choose our passwords

  • 20.000 English Words: Picks 4 random words from a list of 20.000 english words separated by spaces. You can find the full list here
  • Diceware: Picks 4 random words from a list of 7776 words, every word has a number assigned to it, the code throws a dice 5 times and based on the combination of those 5 numbers picks the word assigned to that number until 4 words form part of the password. You can learn more on the diceware site
  • API: Get a password via GET method to the endpoints declared on the site

Example API call (Python)

import requests
import json

response = requests.get('https://randompass.herokuapp.com/api/diceware')
data = response.json()
print(data)

Tools

  • Django
  • Heroku

Videos that inspired this project

Password Cracking - Computerphile
How to Choose a Password - Computerphile
Diceware & Passwords - Computerphile