X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=pygost%2Fgost34112012512.py;h=d41bea62389b19b443494bbc33344fb4dd4b130e;hb=03de94212cd7c039e6a7f4f947fbd2d7d6c9b70e;hp=707397da0245e5fa5f75e8dc7be5ad5856f107c7;hpb=212bb9852fd66cf0b1ac054ed36408fd29752c62;p=pygost.git diff --git a/pygost/gost34112012512.py b/pygost/gost34112012512.py index 707397d..d41bea6 100644 --- a/pygost/gost34112012512.py +++ b/pygost/gost34112012512.py @@ -1,4 +1,4 @@ -""" GOST R 34.11-2012 (Streebog) 512-bit hash function +"""GOST R 34.11-2012 (Streebog) 512-bit hash function This is implementation of :rfc:`6986`. Most function and variable names are taken according to specification's terminology. @@ -9,11 +9,11 @@ from pygost.pbkdf2 import pbkdf2 as pbkdf2_base class GOST34112012512(GOST34112012): - def __init__(self, data=b''): + def __init__(self, data=b""): super(GOST34112012512, self).__init__(data, digest_size=64) -def new(data=b''): +def new(data=b""): return GOST34112012512(data)