trezor/python-mnemonic — pull request #17 by ddworken (2014-11-07 05:01:29+00:00)
Title: Removed unnecessary code.

We already checked that strength is divisible by 32. If strength is divisible by 32, then it must be evenly divisible by 8. Due to this the floor operator is not needed, simple division will suffice.

Benchmark seen here:

```david@localhost:~/python-mnemonic$ time python normalDivision1000times.py

real 0m0.028s
user 0m0.020s
sys 0m0.005s
david@localhost:~/python-mnemonic$ time python floorDivision1000times.py

real 0m0.052s
user 0m0.040s
sys 0m0.010s```