rtty-soda 0.1.4__py3-none-any.whl → 0.1.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rtty-soda might be problematic. Click here for more details.

@@ -10,6 +10,9 @@ def decode_bytes(data: bytes) -> str:
10
10
 
11
11
 
12
12
  def int_to_base(number: int, alphabet: str) -> str:
13
+ if number == 0:
14
+ return alphabet[0]
15
+
13
16
  result: list[str] = []
14
17
  base = len(alphabet)
15
18
  abs_number = abs(number)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: rtty-soda
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: A CLI tool for Unix-like environments to encrypt a RTTY session using NaCl
5
5
  Keywords: cli,encryption,libsodium,nacl,rtty
6
6
  Author: Theo Saveliev
@@ -54,8 +54,8 @@ A CLI tool for Unix-like environments to encrypt a RTTY session using NaCl.
54
54
  #### Docker
55
55
 
56
56
  ```
57
- % docker run -it --rm -h rtty-soda -v .:/app/host nett/rtty-soda:0.1.4
58
- % docker run -it --rm -h rtty-soda -v .:/app/host nett/rtty-soda:0.1.4-tools
57
+ % docker run -it --rm -h rtty-soda -v .:/app/host nett/rtty-soda:0.1.5
58
+ % docker run -it --rm -h rtty-soda -v .:/app/host nett/rtty-soda:0.1.5-tools
59
59
  ```
60
60
 
61
61
 
@@ -9,10 +9,10 @@ rtty_soda/encoders/__init__.py,sha256=-5_g7rhBSJ9jjRtuNStdG_bUf19YTeoF1M7d-xJZml
9
9
  rtty_soda/encoders/base26_encoder.py,sha256=75pytJmImUjI0bEy1nVH5x_IBTaxF5FkeLX8YlYaOms,523
10
10
  rtty_soda/encoders/base36_encoder.py,sha256=bfrpFq5TTyAK8LWnWpCVGhoyWniNqpHaAHXQldlvRhY,539
11
11
  rtty_soda/encoders/base94_encoder.py,sha256=DBuTq1qfehGgiQdrshZi_01wYcppkzBli4Jz5cRUylg,527
12
- rtty_soda/encoders/functions.py,sha256=g2B1Zk_CMv_2s5RgLhAudbdArZVdBIE0KzURP69IM48,1301
12
+ rtty_soda/encoders/functions.py,sha256=kCjF4rfdHhBmgY2IjvtmIk0vibXa5fdfqJ5Ao5AXvuc,1349
13
13
  rtty_soda/main.py,sha256=gNrxih6g7FZ-dnNBUWC2f5uaLI4-RUfXHY9GdwcQ-Qs,10416
14
14
  rtty_soda/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- rtty_soda-0.1.4.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
16
- rtty_soda-0.1.4.dist-info/entry_points.txt,sha256=tFROKkaDoE_p5tM2ko7MoAjWBFurchcw3j-MdObxBU0,45
17
- rtty_soda-0.1.4.dist-info/METADATA,sha256=xO7EsTRRCYMPahs0E5uCFre1_LzBLLT9meozbRzlhd8,6629
18
- rtty_soda-0.1.4.dist-info/RECORD,,
15
+ rtty_soda-0.1.5.dist-info/WHEEL,sha256=-neZj6nU9KAMg2CnCY6T3w8J53nx1kFGw_9HfoSzM60,79
16
+ rtty_soda-0.1.5.dist-info/entry_points.txt,sha256=tFROKkaDoE_p5tM2ko7MoAjWBFurchcw3j-MdObxBU0,45
17
+ rtty_soda-0.1.5.dist-info/METADATA,sha256=p1BdCh37xYG1fVbe8w5ARNagg6t7TeRcy13de3Tvlgo,6629
18
+ rtty_soda-0.1.5.dist-info/RECORD,,