The divmod function behaves incorrectly if it is called with both parameters of value 256, the expected results should be [1, 0] while [0, 256] are returned.
This small difference makes base45 (or Python base45) return a different byte array in some cases.
The divmod function behaves incorrectly if it is called with both parameters of value 256, the expected results should be [1, 0] while [0, 256] are returned.
This small difference makes base45 (or Python base45) return a different byte array in some cases.