Skip to content

A demo app displaying the hashing of a string through a cellular automaton

Notifications You must be signed in to change notification settings

TGianella/LifeHash

Repository files navigation

LifeHash

React Vite JavaScript

A demo app showcasing the internals of a password hash function based on Conway's game of life.

Play with it here.

This app was created for a talk about cryptographic hash functions the slides of which you can find here.

Features

  • Input your password and see how it is transformed step-by-step into a digest !
  • Your plaintext password is first transformed into a binary string which is used to seed a game of life grid. The right grid then runs for 50 generations and the output binary string is encoded in base64 to generate the digest.
  • Right panel displays your last 4 passwords/digests.
  • Login modal lets you register and then login to check that the hash function works as intended.

Incoming features (maybe)

  • Display generations count
  • Options modal
    • Generations limit slider
    • Generations speed slider
    • Use another cellular automaton

About

A demo app displaying the hashing of a string through a cellular automaton

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published