summaryrefslogtreecommitdiff
path: root/pygost/gost3413.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygost/gost3413.py')
-rw-r--r--pygost/gost3413.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygost/gost3413.py b/pygost/gost3413.py
index a31a3c2..5fb73f8 100644
--- a/pygost/gost3413.py
+++ b/pygost/gost3413.py
@@ -35,7 +35,7 @@ def pad1(data, blocksize):
Just fill up with zeros if necessary.
"""
- return data + b'\x00' * pad_size(len(data), blocksize)
+ return data + b"\x00" * pad_size(len(data), blocksize)
def pad2(data, blocksize):
@@ -43,7 +43,7 @@ def pad2(data, blocksize):
Add one bit and then fill up with zeros.
"""
- return data + b'\x80' + b'\x00' * pad_size(len(data) + 1, blocksize)
+ return data + b"\x80" + b"\x00" * pad_size(len(data) + 1, blocksize)
def pad3(data, blocksize):