summaryrefslogtreecommitdiff
path: root/pygost/gost3413.py
diff options
context:
space:
mode:
authorSergey Matveev <stargrave@stargrave.org>2016-11-19 12:07:00 +0300
committerSergey Matveev <stargrave@stargrave.org>2016-11-19 14:50:07 +0300
commitc5a63fc144c59342e32304e4e86b2bad479a8187 (patch)
treec551c34548e060f14917e8d1b901d97b96eddb19 /pygost/gost3413.py
parent9e5e2e8df3751b8a298b2a803e28664cf09f47d8 (diff)
downloadpygost-c5a63fc144c59342e32304e4e86b2bad479a8187.tar.xz
Consistent source code quote symbols
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):