05AB1E
05AB1E copied to clipboard
Suggestion: Hashing
It'd be nice to be able to createmd5
hashes, SHA-256
hashes, etc.
Here's the problem:
05AB1E doesn't make use of any external libraries outside the normal Python package, so Python 3.4 is the only thing you need
You would have to include hashlib
, passlib
or similar and that would ruin the portability.
hashlib
is in the python standard library, so it is normally included in python installations. Alternatively a pure python implementation could be added, though that would be harder.
This is a pure python implementation of the SHA-2 generation hash functions: https://github.com/thomdixon/pysha2