ciphers.base85¶
Base85 (Ascii85) encoding and decoding
https://en.wikipedia.org/wiki/Ascii85
Functions¶
|
|
|
|
|
|
|
Module Contents¶
- ciphers.base85._base10_to_85(d: int) str ¶
- ciphers.base85._base85_to_10(digits: list) int ¶
- ciphers.base85.ascii85_decode(data: bytes) bytes ¶
>>> ascii85_decode(b"") b'' >>> ascii85_decode(b"0etOA2#") b'12345' >>> ascii85_decode(b"@UX=h+?24") b'base 85'
- ciphers.base85.ascii85_encode(data: bytes) bytes ¶
>>> ascii85_encode(b"") b'' >>> ascii85_encode(b"12345") b'0etOA2#' >>> ascii85_encode(b"base 85") b'@UX=h+?24'