Giter Site home page Giter Site logo

random-key-generaton-with-graphs's Introduction

Random Key Generation With graphs

Overview

This code will create a random key for a application by the follwoing methods.

  • A Graph of letters a-z A-Z 1-9 is created
  • Each node contains two random vertexs weighted 1-9
  • Two points on the graph are randomly selected
  • Dijkstras is run to generate a key
  • Profit?

Known issues

This algorithm is a proof of concept and does come with a fair ammount of flaws they are as such

  1. We used pythons basic random class to generate random numbers which by itself is not that random and can be easily hacked
  2. Keys do not have to be a minimum length so you can get a key of length 2
  3. There is a issue where the start and end point will be the same node causing a error

Areas of improvement

Currently the graph takes up a lot of space in memory so creating a more efficent graph is key. Second repalcing the random library with a better RNG is a must for sequrity. We also need to create a min key leanth to prevent easy to guess keys.

End Notes

This algortim was one of our own creation as far as we can tell, if you end up using this in some capacity, any credit is apprecied. A more in depth anylisis can be found in the repo, this includes runtimes of code

random-key-generaton-with-graphs's People

Contributors

lukeskywokka avatar nathan-luc avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.