MCPcopy Index your code
hub / github.com/TheAlgorithms/Python / _base85_to_10

Function _base85_to_10

ciphers/base85.py:12–13  ·  view source on GitHub ↗
(digits: list)

Source from the content-addressed store, hash-verified

10
11
12def _base85_to_10(digits: list) -> int:
13 return sum(char * 85**i for i, char in enumerate(reversed(digits)))
14
15
16def ascii85_encode(data: bytes) -> bytes:

Callers 1

ascii85_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected