Fix readme

This commit is contained in:
Kevin F 2022-08-24 15:42:24 -05:00
parent 85b41fb860
commit d6c903702d
1 changed files with 3 additions and 1 deletions

View File

@ -8,8 +8,10 @@ The resulting bytes is actually a valid ed25519 public key, but you probably sho
It can also uncompress the bytes back to the human friendly format. It can also uncompress the bytes back to the human friendly format.
The compressed result is about 50% smaller.
# Usage # Usage
`compressed: bytes = onioncompressor.compress('duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion')` `compressed: bytes = onioncompressor.compress('duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion')`
`uncompressed: str: = onioncompressor.compress(compressed)` `uncompressed: str: = onioncompressor.decompress(compressed)`