maxcountryman / flask-seasurf

SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).
http://readthedocs.org/docs/flask-seasurf/
Other
190 stars 49 forks source link

add configuration option for sha256 in HMAC #63

Open unuseless opened 7 years ago

unuseless commented 7 years ago

Currently token calculation uses sha1. Adding an option for sha256 would allow to choose the hash algorithm.

maxcountryman commented 7 years ago

I'm open to pull requests.