<commit_before>
This is a simple authentication framework for [Flask](http://flask.pocoo.org/).  

It simply read and writes usernames, hashed passwords, and salts to a json file.

The goal is to handle user signups and logins in a safe and simple way.

If you want more than that, you should probably use something like [flask-login](https://github.com/maxcountryman/flask-login).

To see this code in action, just clone the repo and run serve.py.
<commit_msg>fix readme<commit_after>
This is a simple authentication framework for [Flask](http://flask.pocoo.org/).  

It simply read and writes usernames, hashed passwords, and salts to a json file.

The goal is to handle user signups and logins in a safe and simple way.

If you want more than that, you should probably use something like [flask-login](https://github.com/maxcountryman/flask-login).

To see this code in action, just clone the repo and run simple_login.py.

{'fraction_non_alphanumeric': 0.0755939524838013, 'fraction_numerical': 0.0, 'mean_word_length': 4.207865168539326, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4680777', 'n_tokens_mistral': 273, 'n_tokens_neox': 266, 'n_words': 129}